Gotta agree with codell: it could be the sensor, but its unlikely that it would fail intermittently. The last time my check engine light went on and off, it was the EGR valve, which is emissions related and easy as hell to fix (and cheap).
our light came on yesterday (Subaru Impreza), taking it in for inspection tomorrow. 2006 model with only 30,000 (kilometres) on it, wouldnt want to be anything major...
Although I have an older car (a '93), its always been my understanding that emissions equipment on a vehicle can be rather temperamental and can result in high repair costs in labor for something that's relatively simple and easy to fix. I'd take it to an AutoZone or some similar place where they will pull the codes for you. [For the uninitiated: they'll hook up a code-reader to your engine's computer, which will inform you of anything abnormal in 'codes,' or numbers that correspond to a particular problem/issue.] Now, code readers aren't 100% accurate, but they can be helpful. Take some notes and research online whatever notes you have. An O2 sensor, or an EGR or PCV valve is easy to replace and will save you considerable time and money vs. taking it to a shop. EGR and PCV valves are cheap parts, too (less than $20, I believe). In other words, learning some very basic mechanical skills can save you a LOT of time and money. Anyway. Just my two cents.
A quick Google search came up with this: Admittedly, I don't have any direct experience with this, but it sounds to me like this thing basically tells the vehicle when to shift gears based on how much power you're giving it, e.g. stomp on the gas, and the car ought to stay in lower gears longer for quicker acceleration, while cruising at highway speeds ought to keep you in the higher gears/overdrive. If this thing fails, your car may have trouble shifting/shifting at odd times, that sort of thing. Does this sound like your problem? What kind of car do you have? I'm guessing its an automatic if you're having this kind of problem. Some courses of action to take: - Got a mechanic you trust? Call them and ask if this is something relatively simple to fix. Or call the dealer and ask the same question. - Research your car and this issue online. There are a million forums dedicated to auto repair. - Buy a book, like a Chilton's or Haynes manual (Google 'em), and get to turning wrenches. These are what I'd do....Keep in mind there are MUCH wiser car-repair minds on this board than me.