Idling issues without a DTC are a lot more likely than torque converter locking issues without a DTC caused by the TPS since the PCM is constantly monitoring pedal position vs throttle position while driving (so a hunting TPS without pedal movement would/should throw a code)
I was just saying it might be worth trying a calibration first since that might cause the issue without a DTC and not cost any money.
But yeah, for $35 kill two birds with one stone.... disconnect the battery and install a new sensor; Itll be a new part and automatically calibrate.