Last week, the traction control and check engine lights came on. I went to Autozone to get some codes read, and they shared P2401 and a few of others (all having to do with emissions). I replaced the gas cap, put it on, and gave it a spin, but it still wouldn't start. After that, I disconnected the negative battery terminal for 10 minutes to force a hard reset, and the lights stopped flashing. Following it, the idling was subpar, and it would occasionally die when I pressed the brakes to halt. I discovered that these automobiles require a few minutes of idling before they can retrain themselves, so I might have to leave it running at idle for that. That fixed it; for the next two days, I had no problems with the lights.
Nonetheless, both lights turned back on today. Is anyone else familiar with this or has any thoughts about what might be happening? Perhaps you should clean the MAF sensor or the throttle body; I saw that mentioned somewhere.