maybe a tech would know better, but don't they have flight recorders, hook up's
to the engine that record activity. If it happens again have one connected and drive till it reoccurs.
Another test, maybe a tech can verify, quickly when the car stalls glance at tach, if the tach immediately falls to zero electrical problem. If the tach falls gradually or hesitantly to zero a fuel starvation problem.