What year(s) of transmission will fit a 2003 hyundai santa fe? on 2003 Hyundai Santa Fe

My transmission went out and I bought a used transmission and they do not match 100%. The front axle doesnt look the same on the new one. The old one front axle part is smaller than the new transmission. What years will fit the 2003 Santa fe? Or does it have to be from another 03 santa fe to fit right? Do I have to change out any parts? etc. HELP

Asked by for the 2003 Hyundai Santa Fe