Well that's not going to happen.
You are going to have to come back here and LOOK for replies.
A description of exactly what happens with the lights and other accessories when the engine quits would be helpful.
How do you KNOW it is electrical versus a fuel flow problem ??
Owning a multi-meter probably would be a good idea.
If you insist on just changing parts based on a wild guess, I'd throw
a new battery at the problem. They are sometimes intermittent internally.