Can you change just the stripped gear itself in the oem gearhead with one from the new gearhead/motor?
Smallhaul has worked alot of these Leimbach/Stahl models, I'm sure he has some good advice & maybe some spare parts too to get you going again.
My dozer & track loader motor mounting is different as they were 2002 model years.