The stalling may or may not be related to the codes.
So clear the codes and keep an eye for which ones comes back.
For the po122:
DTC P0122 or P1122 will set if TP sensor voltage less than 0.2 volts:
Engine is running.
No other TP sensor DTCs have been set.
The throttle position (TP) sensor is a variable resistor that is connected to a five volt reference source, a ground, and an input signal at the PCM. When the throttle blade is closed, the sensor input voltage will be low and increase as the throttle is opened. The TP sensor is mounted on the throttle body and connected to the throttle shaft which is controlled by accelerator movement.
Normal voltage readings should vary smoothly from 0.4 volts to 4.7 volts 0.2 volts as the throttle is moved from closed to wide open position
The tps can be checked with a dvom.
What I would do first though is to check for any binding in the throttle bore when it is cold. Thjere should be no binding. If it stakcs at first when you manually open the throttle plate with your hand where the cable wraps around the arm at the throttle body, then it needs to be cleaned. Open the bore up and get a good look. If there is any carbon, it needs to be cleaned.
I think the PO 500, po722 and po731 are related to each other. Sounds like a speed sensor is dropping out. At least lets hope it is the sensor.
Based on the symptoms and these 3 codes, I would replace that sensor. The po731 will set if no speed is registered. There is a note in the toubletree that says to check the VSS first if there are speedo issues Like you are having.
Monday, January 11th, 2010 AT 7:24 AM