Ok, i was driving my friend's car last night. On the way to walmart, the engine shuts off. The electrical is still working. When we stopped, car can barley turn on. It cranks, but idle is rough. I think whats wrong with the car is that the distributor is dying or map sensor. I could be wrong. Car has about 220,xxx miles on it. Fuel pump was replaced and main relay was replaced. Please help me with your suggestions. thanks.