Roper washer won't stop filling with water

My Roper washer now won’t stop filling up!! I can unlug the unit and it keeps filling. I’ve tried letting it run through its cycle but it still doesn’t stop. The only thing I can do is to manually put it into the "spin" mode, turn off the water supply and let it drain. I did notice that only cold water is filling the tub when I unplug the unit. If the unit is plugged in and in the start mode, the water is whatever I selected it to be on the temperature button.

Please someone help.

Thank you.

I see where the intake valve is located on the back where the water lines come in. How do I go about replacing it?