My 1996 F-150 Xlt 5.0 302 4x4 with the 4R70W Auto trans will idle perfect in Park, Drive,neutral,…

My 1996 F-150 Xlt 5.0 302 4x4 with the 4R70W Auto trans will idle perfect in Park, Drive,neutral, and drive 1 (low 1). But as soon as I put in drive 2 (low 2) the engine shuts off and sometimes the engine will try to stay alive but ends up dying. I’ve checked for vacuum leaks (have none) and replaced solenoids in valve body. What could be the problem?

sounds like a wiring problem in the transmission range sensor to me, shorting it all out, Pray it's that and not internal to the transmission

We went to a transmission shop and they drove it with computers hooked up to see the problem and they said it wasn’t a wiring problem and that it’s in the valve body.

false