Tech was installing a bull gear into the final drive of a 793 haul truck. The gear hung from a crane hook by a strap; an installer bar was in the drive. While positioning the gear, the boom-up button was pressed instead of winch-up, raising the boom and shifting the gear, pinching the tech's finger against the installer bar.