I've had this happen and it was due to an electrical surge. My Chassis battery box had broken off and the battery was swinging on the cables. When the battery's positive cable swung and hit the MH frame it would send the tach and the speedo bouncing all over the place.
My guess is that you have either a bad ground or you have a positive that is grounding out. Just remember that the wire that is giving you problems does NOT have to be near the speedo.
Magilla
2005 Holiday Rambler Admiral 37' Gasser