Re: 97 / E40D shifting crazy
The P0344 means either the cam sensor or the wiring to the cam sensor has an open or short. You should check the wiring for continuity, short to ground, and short to power. If those check out, replace the sensor. Same thing for the vehicle speed sensor, except that the problem could also be caused by the PSOM on the back of the instrument cluster. I'd ignore the P1728 until those two problems are fixed. That code probably set because of the first two codes.
Former Ford Automatic Transmission Engineer
“The good thing about science is that it's true whether or not you believe in it.” ― Neil deGrasse Tyson