What are the codes? P0171? I was getting this code for a long time, over 4 months probably. I Had a similar problem to yours. I don't like taking my car in when I can repair it myself but it wouldn't start on me once. They ended up replacing the Mass Air Flow (MAF) sensor. It seemed to help but it still didn't run the best. Took it back, they said the O2 sensor was working intermittently. I replaced that myself and now the car runs fine. The problem with replacing the MAF is that costs almost $200. Good luck and I hope this helped