Could be ignition switch..bcm/body control module...bad solder joints on back of panel.Can you tap it all eitrher works ..or goes out.
Check all grounds. Try disconnecting the battery both posts/terminals..leave loose for 15 minutes..before putting back..touch both terminals together for 10 seconds.
Sets all back to factory default. Also clean the double battery post good.