In the past year, I replaced the coolant temperature sensor in my Ford and my father needed to replace the oil pressure sensor in his Jeep. Sensors do go bad.
I replaced the outer temperature sensor, but that was lost, gone. without it the car acted as it was -40 degrees, it set the AC in full heating