My 1999 honda accord Lx sedan shits off while driving randomly. What can the issue be?

I got the car in june of 2015 and it was working well but then i had a problem with my car shutting off randomly st times and i come to find out my car had a bad distributor. I got it fixed and it was going well for about 4 months. But now all of a sudden its doing it again every couple days it will randomly shut off the drive fine for a 3 days. My car revs up but doesn't start at times as well i can see the check engine light and my radio and wi dows work so i can't identify what it is… People are saying its the ignition switch or main relay but i can't tell which one

Replace the main relay and get the trouble codes read.

Not the main relay, which rarely causes trouble once the engine is running. Almost certainly the ignition switch, which was the subject of a recall for exactly that problem (last recall in the first source). How to know for sure? If the oil and battery warning lights are not on when it shuts off, that confirms it.

Call your local Honda dealer about the status of the recall on your car. Free repairs are the best.

There's a main relay down by the steering column that is a common problem on your car. Do a search on youtube and if you're lucky someone will have a photo of the relay for you.

  • Why is my Honda Civic shutting off while driving? I have a 2000 Honda Civic Ex… Recently I was driving and in the middle of driving, my car shuts off, all my gauges go down and took a while to crank back up. My battery light turned on, so I replaced the battery, thought maybe the battery was old and needed changing, thought maybe that was it. Well it didn't help, it still will shut off and the battery light is still on. Could it be the altinator? Suggestions are much appreciated.
  • My lights dim randomly at night while driving? I've been noticing my lights are dimming both headlights and HUD lights. The dimming is mildly noticeable but not to the point their off but annoying. Any answers out there why? Honda Civic 2001 DX coupe (stock)
  • My car cuts off while driving? My 2000 Honda Civic ex will cut off on me in the middle of driving. Right before it cuts off all the interior lights will flicker. I've checked the connection on the battery and still doing it.
  • I have a 95 honda accord ex that had a vss issue that has been resolved. I also had a tps issue (according to the check engine light code 7)? The vehicle speed sensor and throttle position sensor have been replace but my car makes a weird noise when its in park or at a stop light. It seems like it sputters then goes back to normal idle and it repeats the same process. Any advice would be appreciated!