Will a 1992 ford aerostar with a 40 engine with a automatic transmission will the transmission fit a 1993 ford aerostar 30 engine?

Its my understanding that the 92 and 93 Tranny is the same for the two years. It might make a difference if one is a electronic 4-wheel drive and the other is not.