That sounds like an IACV being stuck wide open. I don't know why it went wide open. Typically when you step on the gas you OPEN the TB (Throttle Body) which will cause the IACV to close down some. So I'm not sure why it's done that.
A friend of mine had a SAAB with a stuck IACV, stuck in an abnormally low idle. We bought a used one from the junk yard and installed it. As soon as she drove it the car wanted to take off setting new quarter mile time records. Scared the krap out of her. She brought it right back and asked why it did that. When I looked into it further I found the computer stores numbers based on her driving habits. Since the old one was stuck in low idle the computer was trying to compensate by opening the newer one, causing the car to speed down the street.
Fortunately she had the smarts to step on the clutch and use the brake pedal to keep the car under control. After a few short drives with the car doing that (to me too) the computer began to reset its numbers and started controlling the idle properly.
So I think you are experiencing problems with your IACV. There IS a possibility the TPS may have failed, causing the computer to think the TB was at idle (full closed), so the IACV may have been attempting to compensate for that.
Though someone before me spoke harsh to you (no need for that) I have to agree that you should either remove both the TPS and the IACV and check (bench test) them to make sure they are working properly. TPS's are often a variable resistor. Flooring the pedal may have damaged it. Still other TPS's are graduated switches that tell the computer when your foot is off the pedal, lightly on, moderately on or full on, but those are older types.
Since I'm NOT a certified 'Master' mechanic, I'm just some dumb engineer who worked on space shuttle and satellite power management systems. But I have been working on cars since I was 11. Yeah, they had cars way back then too.
Hope this helps.
'av'a g'day mate.