Did you hear any ticking/clicking coming from the engine when driving?

Either try and new sensor, or get an oil pressure kit and see what that reads. Being that is was intermittent, safe to guess that it is the sender or wiring.