my truck just did the same thing, it acted funny and then when i let off the gas it cleared up. It ended up being my fuel filter. it got clogged and then it burned up my pump, so check the filter and see if you can blow through it easily. mine had the same symptoms you desribed. if thats not it, run a jumper wire in your "T" port on the driver side fender and pull the codes. the check engine light will flash so many times, count how many times it flashes in sequence and then look it up in a haynes or chilton manual. (the light flashes when the key is in the on position). Good luck
FSU:skull::skull::skull:
FSU:skull::skull::skull: