Is this related to my gauge lights not working?
Here is another picture
Your other piece, the one with the electrical connections is what's left of a flasher unit, it usually has a plastic or metal cover over the internal parts. The white piece could be a filler panel for under the dash. The only ifthe that would be effected would be the turn signals or 4ways. Dash lights are on a different circuit, have you checked the dash light fuse?
Looking for a Used C/K 1500 Series in your area?
CarGurus has 37 nationwide C/K 1500 Series listings and the tools to find you a great deal.
Search GMC C/K 1500 Series Questions
GMC C/K 1500 Series Experts