1988 Supra Mariah - random and sudden engine shutdown

Please help! Randomly and suddenly I lose all power and engine shuts down. I just need to turn key off and push off and on the master power button then restart. It usually only happens when I am idling like at night w/navigation lights on. It's definitely electrical as everything goes dark. Im kinda new at this so any clues would be greatly appreciated!!!!