These things are not terribly reliable and probably need replacement. It could be due to a module, however. I recommend visiting a shop for assistance.
RepairPal Certified shops can diagnose and repair your 2004 GMC Yukon XL 1500. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.