Unfortunately I own a 09 toyota camry which is among the recalled models. Try to search the net and found some suggestion on what you could do when your gas pedal got stuck. Seems we have several options: 1. Turn off the engine (not sure if I can do it when the car is running); 2. Put the transmission in Park, Neutral or low gear. After doing this, your car should stop accelerating. Then, brake pedal and parking brake will stop the car.
Also found one video talking about this at around 3:04: