1990 Ford F-150

Transmission problem
1990 Ford F150 V8 Four Wheel Drive Manual 200+ miles

This truck has over 200,000 miles on it but in good shape. I had it painted last week and when I got it back I noticed that the speedometer was not working.I pulled the cable end out of the transmission, took the cable out, hooked up a drill to it and it operated the guage needle. I did the same with the gear back on the end of the cable. I replaced the speed sensor and reinstalled with the old driven gear. It worked sporadically for a few days but now does not work at all. What do you think the problem is?
March 5, 2008.

Check the sensor gear if slipping also check the driver gear in the tranny
check the cable ends

Mar 5, 2008.