It could be a combination of low oil pressure and a bad fuel relay. If the fuel relay is bad the oil pressure switch is used as a backup. There may be insufficient oil pressure at idle to active the switch.
So:
1) Check your fuel pump relay on the fender, if bad fix or replace
2) Check...