HiCustomer Thank you for asking your question on JustAnswer.
The speed sensor is located near the tailshaft of the transmission.
The Throttle position sensor on your diesel is located on the injector pump.
The cam sensor is not shown on a non-turbo diesel and would not affect transmission operation.
I have worked on two diesel transmissions this week ,like yours, and both of them had faulty PCM's.I recommend removing the PCM and inspect for possible water damage.Both of the trucks that I saw had corrosion on the outside of the PCM case,and had shifts with fault codes stored for speed sensor,throttle posisition sensor and control pressure faults.The PCM is located under the hood near the drivers side fender.