Can a 98 mazda millenium auto tranny replace a 96 mazda millenium auto tranny?

My mazda millenium has 3 cylinders that aren't getting any pressure, so I found a 1998 mazda millenium for $500 with a shot tranny. My idea was either to take the tranny from my 96 and put it in the 98 or take the engine from the 98 and put it in the 96, which would be easier/take less time and would either of those ideas work?
 
Back
Top