Intermittent high idle
and credit to eseibel67 for the relearn procedure.
Hope this takes care of the problem for good. But if not, I'd look at that connector and wiring as the next likely item. It's possible that the connector isn't making great contact, and by doing the reset (unplugging/plugging) you may have coincidentally prompted a temporary improvement of an otherwise weak connection.
It was the Wells TPS. With only doing a replacement and no resets or anything, it was the only sensor that worked kinda well out of the box. But it eventually did have issues like all the others.
I did consider a bad connection a while back and slightly bent the prongs in the direction of the contacts to ensure a good connection was being made.





