I agree with Dr. Honda...
Check your voltages. Best tool would be an oscilloscope, next best would be an analog voltmeter. A digital multimeter (under $5 at Harbor Freight if you don't already have one) will do the job but won't show fluctuations more rapid than its sample rate. Still better than nothing, though.
Does your engine vibrate more when the problem occurs? You may have an intermittent ground which gets rattled by engine vibration. The result would be noisy power to the ECU and other systems, not a whole lot different than bad regulation. I mention this because you said the gauges "flicker", which I interpret as meaning their illumination goes on and off. That's more likely to be a grounding problem.
Report back... let's get this fixed!