MODELS SPEEDO

MY SPEEDOMETER SPORADICALLY CUT OUT AND NOW IT NEVER WORKS, CLUSTER IS OK, WIREING FROM TRANS SPEED SENSOR OK AND SPEED SENSOR IS NEW? WIRE THAT COMES FROM P, RN, D SWITCH TO SPEED SENSOR SHOULD THAT POWER THAT SPEEDO SYSTEM?THANKS