The trans shifting and overdrive are controlled by the following: Engine coolant sensor, keeps trans locked out of overdrive when coolant is below 60 degs. Transmission thermo-switch (located on the trans cooler line) will lock trans out of overdrive if trans fluid is above 273 degs. TPS, overdrive lock out switch on dash, overdrive solenoid in trans and VSS as well.
Also you can pull codes from the PCM by switching ign switch on-off-on-off-on and count the flashes of the check engine light. Code example, lamp flashes 4 times, pauses and flashes 1 more time, it's a code 41. Codes will clear once fixed after 51 engine starts or use scan tool to clear codes. Code 55 is completion of trouble code display.
Codes are:
11 No reference signal during cranking-engine speed sensor.
15 No Vehicle speed signal-VSS.
22 Coolant sensor voltage low or high.
23 Charge air temperature sensor voltage high or low.
24 TPS voltage high or low (auto trans only).
33 A/c clutch relay circuit
34 speed control solenoid circuit
41 alt. field not switching properly
42 Auto shut down relay control circuit or no ASD relay voltage sense at PCM
45 Overdrive solenoid open or shorted (auto trans only)
46 charging system voltage too high
47 charging system voltage too low
53 internal PCM failure
55 completion of trouble cold display
62 PCM failure, SRI miles not stored
63 PCM failure, EEprom write denied
Don't forget, bad grounds as well.
Earl