Could be ignition switch. My old Volvo had similar symptoms when it was going bad.
Although the "completely blank" symptom seems odd, and more like the positive battery cable is loosening; most likely at the fuse box. did nothing electrical work at all?
When the car dies, does jostling the key do anything?
2008 9-5 Aero-1995 900T 'vert