Couldn't find on the net whether or not the oil pressure sender/switch on a '93 Altima can shut down the fuel pump. Shows the value of having the shop manual for your car. The OP didn't change the switch, and the car is no longer shutting down - for what, a week? Nobody knows why the car was shutting down. It'll probably happen again. There's probably hundreds of possible causes. I had a GM 2.8 that did that intermittently for about 6 months. Maybe 3 times before I took it in. No rhyme or reason. Left it with my mech, just as cold weather set in, and they used it for their shop car with a laptop hooked up for almost a full week. Nothing. No charge - he said he'd get me later, and he did. Barely into warm spring weather one day it wouldn't fire. Failed ECU. Had a Chrysler 225 that shut down intermittently. After throwing a
20 buck control module at it, I got lucky just before I was going to drop the gas tank to see if a rag was sloshing around in there. I was leaning over the engine bay, miserable at the thought of dropping the tank, when the sun got just right and I caught a glint behind the head. Primary ignition wire had been bouncing back there against the head and the insulation melted through. Half an inch of tape fixed it. My fault - I hadn't hung it back up properly after I changed the valve cover gasket a year before. We'll probably never know about the Altima. The OP might junk it when it gives him problems again, or never post back if he ends up fixing what's wrong. Nothing about what's been said has provided an answer. Just raised more questions.