Maybe faulty oil pressure sensor/switch. Typically there is 2. One for gauges, one for fuel cutoff.