You should check the battery terminals, an easy thing, they tend to corrode. Cars are half electronic these days, any big voltage drops stall the engine. Did the 02 sensor help?