When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.
Maybe, it depends what actually happened, explain the situation.
so I start the car and wait for it to warm up, but it happens randomly, sometimes it'll shut off a few mins after turning it on and other times it can go a half hour without shutting off. When i drive it takes like a couple of minutes to shut off.
The oil pressure switch is a redundant switch that closes the fuel pump circuit once the engine is operating and has oil pressure. The circuit has an ECM operated relay that closes fuel pump circuit when you key the car on and when the car is cranking or running. This means that the fuel pump should always have power when the car is running. As a backup to the main fuel pump relay there is an oil pressure switch that closes as long as you have engine oil pressure, this in theory should keep the fuel pump running as long as the engine is running. If you loose power to the fuel pump when the engine is running it would mean you have a failure of the ECM activated relay and a failure of the oil pressure switch. I doubt your stalling issue is related to the oil pressure switch.
The oil pressure switch is a redundant switch that closes the fuel pump circuit once the engine is operating and has oil pressure. The circuit has an ECM operated relay that closes fuel pump circuit when you key the car on and when the car is cranking or running. This means that the fuel pump should always have power when the car is running. As a backup to the main fuel pump relay there is an oil pressure switch that closes as long as you have engine oil pressure, this in theory should keep the fuel pump running as long as the engine is running. If you loose power to the fuel pump when the engine is running it would mean you have a failure of the ECM activated relay and a failure of the oil pressure switch. I doubt your stalling issue is related to the oil pressure switch.