Here are your parts
Replacement parts for FRIGIDAIRE FWS223RFS0 Frg(v0) / Washer | AppliancePartsPros.comSounds like a water valve problem.
If the water stops when you unplug the unit is probably a pressure switch (Item 5 in Section 2) or pressure tubing (Item 53 in Section 4) problem.
If the water does not stop when you unplug the unit then it is probably a water valve (Item 33 in Section 1) problem.
The switch is actually a pressure switch. It has a tube that runs down to the bottom of the tub, as water fills the tub, air is trapped in the tube. As the water rises, the air pressure in the tube increases until it reaches the switch's set point then the switch activates turning off the water and starting the agitate.
Possible problems.
1. Gunk blocking water from entering the tube. Remove the tube at the switch and blow into it to clear the plug.
2. Cracks or holes in the tube allowing the air to escape. Inspect the tube. Also check that it is tight on the switch, if not, cut off half an inch and re-seat it.
3. The switch is toast. Get a piece of tubing with the same internal diameter and attach this to the switch. Start a fill, then blow into the tube. You should be able to stop the water flow without blowing very hard.
If you cannot stop it the switch is toast.
Note: That you may be able to stop it by blowing into then tubing and it may still be no good as it needs too much pressure to activate the switch.
So iof the tubing is OK replace the switch.