Headlights, Dash lights, and Tailights turn off in auto mode AT NIGHT when idling on 2005 GMC Yukon XL 1500

The dash lights, headlights, and tailights turn off after approximately 10-15 seconds when at a full stop idling AT NIGHT. Lights work normal in manual mode, and at driving speeds. The sensor has already been replaced, and it is still failing.

Asked by for the 2005 GMC Yukon XL 1500
you will need a good shop with GM software to diagnose this problem for you. you may have a faulty "convenience"
module, but that's only a guess.