Hyundai stops

Our 1994 Excel, with 71,000 miles, just stops every so often. No noise, no warning. Full tank, 1/4 tank, driving or stopped. We took it to our mechanic. He says if it doesn’t happen to him, he cannot help. While waiting for the diagnosis, I’m asking for ideas. Some friends think it is electrical.

Thanks.