It's unlikely the transmission problem and the engine dying had anything to do with each other unless the converter went bad. First do what inertia said.....check the fluid level. If it's still acting up, have a pressure test performed to determine what went bad. If there is burnt fluid or lots of metal in the pan, the transmission will probably have to be overhauled.