My 98 Contour SE Sport did this just about a month ago and they found that it was the mass air flow sensor and then they tried to blame the bad mass air flow sensor on my intake and tried stiffing me for a 700$ bill which i have warranty and that is crap...
Thats my 2cents....