Did you have a code reader to get this info? Check here for possibilities -
P0122 Throttle Position Sensor/Switch A Circuit Low Input - Check Engine Light Code
but also - check your battery for low voltage. I had this happen on a Mazda once - I could hardly drive, but a new battery fixed it right up.