Without knowing much about the car. I had an O2 sensor cause those symptoms. Changed it out and the symptoms went away. Not immediately but prob within 20 mins of driving