First thing I would replace is the fuel filter if it hasn't been changed in a long time. It may be clogged with dirt or there may be water in your fuel tank with the cold weather and all. There is a possibility your fuel pump is going out, supplying just enough fuel to get the truck running but running out of pressure to keep it running. You cna buy a fuel pressure gauge and check the fuel pressure in your fuel line up on the fuel rail on the engine. Just turn the key on to activate the pump and see what fuel pressure you are getting. IS it holding steady? If it is start the engine and see if it drops. There are sensors that WILL shut off your engine but considering it starts, and then dies, well it's either a fuel delivery problem or possibly a timing issue but I would start with a fuel filter, then check fuel pressure and go from there. The fuel pump is in the fuel tank so be prepared for a hefty repair bill if you don't plan to do it yourself. Just a heads up!
its gonna be expensive but try injectors, air filter, air fuel mixture sensor, or get one of those handy dandy read your codes yourself testers an plug it into your truck an see if it tells you anything. your best bet would be to induce the problem then run it while the codes are fresh in the engine
Denali.
Check your fuel filter, throttle position sensor , and timing
There is a air duct hose that comes out of the air filter box and goes to the engine. The MAF sensor is right were the air hose starts out of the filter box.
I don't think the problem is a sensor as the vehicle starts well. A clogged air filter or fuel filter may be at fault - or maybe even dirty spark plugs.
try replacing o2 sensor also the check the fuel filter
Crank position sensor....back of motor in a tight spot , under intake towards the drivers side and to the left of oil filter....
The GMC Sierra Denali starts at $46,430 for the 1500 model, $46,810 for the 2500HD model, and $47,385 for the 3500HD model. One of the differences between the models is the trailering capacity.
Its possible that it is the TPS sensor (throttle position sensor)easy to replace yourself and available at your local parts store.It could also be a transmission issue, change the fluid and filter, but start with the TPS sensor its a common problem and cheaper solution
Most likely a problem in the fuel line.... pump or filter... could be an air flow sensor, PCV, or EGR, as well. Oh yeah, or it could be an idle sensor, or a problem with the choke.
Check the oi pressure sensor, located next to the filter, for oil in the electrical plug. If oil is present, replace sensor.
fuel filter