If you disconnect the TCM and shift the transmission manually 1/2, 3, OD, and if shifts promptly and correctly, the transmission is OK. TCM failure is uncommon, TPS failure is common. The TPS is the most common and most logical suspect.
The Throttle Position Sensor is directly involved with...