I'm not a car guy, but maybe there's some corroded wiring? I assume the battery is fine. Depending on the age of the car, years of salt may have done some damage. My car is 13 years old and when my alternator was replaced, they had to replace a bit of wiring that was corroding.