I just wanted to post a final update.
So my revving problem came back in December 2021. The GM field tech came to the dealership and looked at my truck. He said they needed me to run 2 full tanks of premium top tier fuel through the truck and it will fix the problem. I said how is the premium fuel going to fix this revving. I said it says in the owners manual that premium is recommended but not required. They said that the truck with run better and the sensors are set to run premium fuel. I said okay but I bet it doesn't fix the problem. So I ran 2 tanks trough the truck and the revving was getting worse. Then the GM field tech said I needed to run 4 tanks through the truck. Well I had 3 tanks through the truck and I was planning going ice fishing 200 miles away. I told my service guy you better have a plan when I get back because its not going away. So I drove to the river and came home end of the weekend and it did its thing 6 more times. So GM flew in a GM Engineer and they did some programing to the truck. They also said they ordered a Data tracker recorder. So that next weekend the truck did the revving 5 more times. The next week the Data Tracker came and the GM Engineer flew back and put it in. He said he would like 2 recordings if I could before he came back. I had a button I had to push when it would start to rev on its own. I also had to let the dealership know the date and time I pushed the button. Well it did it 5 more times that next weekend. So the GM Engineer flew back and read the data. He told the dealership to order and change out the gas pedal. So as soon as they got it, I got the truck to them and they put it in. They also left the data tracker in the truck. I thought there is no way this is going to fix the problem. Well after 3 weeks it hasn't done it once. So last week they took out the Data Tracker. So I am hoping this problem is fixed. Took 2 years to get figured out and fixed. The dealer told me they would of never guessed it was the gas pedal.
So the problem wasn't my K&N cold air intake, Radar detector, Phone charging cords, and defiantly not the regular gas I was running. It was the gas pedal that was bad. I have put everything back in the truck and running regular gas again.
I thought I would let everyone know the problem that it ended up being. Hope this helps out someone else that might have the same problem.