Thanks for the codes. Two are specific to the TPS (high voltage) and the P2138 is related to the accelerator pedal position sensor.
Since either of the two could cause what you experience and the TPS has been replaced, here is what I'm going to suggest. First, disconnect the connector at the TPS. Closely inspect the connection being made between the two. Check for pins pushed in, damaged, or corroded. If everything checks good, I want you to disconnect the battery and wait for about 10 minutes before reconnecting.
After reconnecting, check to see if the same symptoms are present.
Let me know. Also, I have the diagnostics for all codes listed. They are extensive. The tests for the TPS indicate either a bad sensor, faulty connection or the ECM as the most likely causes. That's why I'm suggesting the aforementioned first.
The same with the APP sensor. If this test makes no change, then we will need to jump into the diagnostics. You will need tooling that can communicate with the vehicle's modules and a multi-meter.
Let me know.
Thursday, June 30th, 2022 AT 8:07 PM