If the engine problems have been there the entire time you have owned the car, it is hard to draw a conclusion on transmission behavior. But having the engine/trans out of the car is a good time to replace the sensors under the main control cover, check solenoid body and valve body also. If fluid looks good, along with a fluid exchange, that should have the trans ready for another 140K.