You probably have a throttle cable. Check to make sure it is still working. Have someone work the gas pedal while you check under the hood.
Check your owners manual to see if your vehicle has this fuse ( ETCS ) Electronic Throttle Control System fuse. If your vehicle has this fuse and it is blown will cause the problem you are having.
Search Chevrolet Silverado 1500 Questions
Chevrolet Silverado 1500 Experts