I would suspect that you have a bad ignition switch. There are multiple circuits that feed through the ignition switch. The circuit that feeds the instrument panel must be losing contact. you can check the ground, it is located at G203,G204,G205 on the passenger side under the dash, look at the picture below:
Check also the grounds G200,G201,G202 under the left side of the dash:
ASE Certified Technician
20+ years experience. ASE Master and Advanced Level L1 Certification.GM World Class Certification