The speedo is electric- the pick-up is in the diff and often the wiring to the pickup fails near to the plug in the diff- it flexes quite a bit. Check this out if the speedo works intermittently. If the mileometer has failed but the speedo is still working, then the speedo head is U/S.