Ok, personally, I don't think that removing the negative battery cable will do it for you, but hey, I've been wrong before. My guess is a wiring or sensor problem.
Now, Grimace is wrong in what he says. Disconnecting the negative battery cable will NOT cause your ECM or PCM to lose its vital memory. The look-up tables, and reference tables, as well as fixed input tables that it uses to constantly change fuel trim and other computer controlled outputs, are saved in 1 of 3 forms usually. Those are ROM (Read Only Memory), PROM (Programmable Read Only Memory), and EEPROM (Electronically Erasable Read Only Memory). None of this information will be lost if you disconnect the negative battery cable, as bobweb told you, many simple procedures require that the negative battery cable be disconnected.
I'm not gonna say that what bobweb told you to try won't work, by all means try it before taking it in for service, just be aware that you will lose your radio presets and things like that. And there is memory that will be lost, this memory is a running record of your driving habits basically, and it is used in adaptive learning to help maximize the vehicles performance as it grow accustomed to your driving habits. So also be aware that after you re-connect it, it may act weird for 15 miles or so. It may die at a stop light, it may not drive exactly how you remember, but it needs time to relearn your typical driving habits. Good Luck.