How to flash with key and brake pedal:
Get in, close door, put on seatbelt.
Press the brake, start the truck.
Put in drive and accelerate.
Multiple accelerations, brake pedal application, turns.
Arrive at dealer.
Pay them to reflash.
Seriously, there is no way for a DIY to accomplish this without a J2534 pass through and a ACDelco TDS subscription. If you don't have the equipment, it will cost over 10X what the dealer would charge. And if you screw it up the cost could skyrocket.