1999 Toyota Camry speedometer/odometer

PLEASE HELP! I have a 99 Toyota Camry LE 4 cylinder. When driving my speedometer stops (The MPH goes to zero and the ODO goes blank and does not show any mileage). The diagnostic came back saying Vehicle Speed Sensor so I replaced it yesterday and this morning on my way to work, it stopped again! Now, the hot & cold gauge still works, gas gauge still works. What could this be???

Sounds like there’s a fault in the connection at either the sensor or the gauge end.