Electric fuel solenoid will not cause flooding.
That is the inlet needle and seats job.
A rubber tipped one is the best and most often see, so the seats don't need replacing as they don't wear.
Electric fuel solenoid often cause no starting because they fail to open when turned on and don't allow the gas to enter the carburetor.
Electric fuel solenoid are actually a safety feature so when it's stored in your garage the fuel line is automatically closed off, without these the flooding could cause a fire.
Many garage fires are caused by people leaving the fuel on, then moving things around which can bump open the inlet needle and flooding occurring when the engine is not running.
The industry is trying to save ourselves from ourselves. ha ha ha