Electric is a real bad idea, unless wired with a proper relay driven off the stator or something else that goes dead if the engine stalls. Otherwise, fuel will keep pumping, even if the engine stalls, possibly filling the bilge or cockpit with gasoline.
Gee, fuel pump rebuild kits are real...