One simple check would be to disconnect the electrical connector on the sensor, clean the sensor contact, apply some dielectric grease, then put the connector back on. The contact tabs on sensors can sometimes simply start to corrode and cause intermittent connection.