Sound like a ground wire maybe loose check all the grounds to the engine and harness. Also your oil pump or sensor could be going bad when you displace the oil on a hill or quick stop it stops reading and kills the engine to be safe.