TransSpeedSensor $30, mounted on the side of the transmission behind the left wheel caution: may be rusted in unless you are not in a salty road winter area., Trans range switch about $50 ,mounted on top of trans. Try those before replacing the trans. Before Doing Anything , check for codes with obd scanner. The TPS could also be bad, which is why you should scan for codes. Maybe Autozone can do that. All those sensors work together for the computer that controls the powertrain to make the right decision.