Can someone please tell me about how much it cost to fix an electrical outage? on 1999 Saturn SC2

My car recently started to act up it seemed like it wanted to start but wouldnt after a few long trys it would start or I would have to slam the door really hard for it to start until it left me stranded on the free way it died out and wouldnt start a mechanic said it was the gas pump then changed his mind and said it was something electrical about how much does something like this cost? Has any one else ever had this problem?

Asked by for the 1999 Saturn SC2
i would run the vin # to see if any recalls due electrical issues. it may need to be reprogrammed also.
1 more answer
I changed the alternator and new battery what could be draining the battery besides a light burning