GE dishwasher model number gdf520psf4ss

I change the flood switch and that fixed the problem for about a week. So I changed it again thinking maybe I bought a faulty switch. The second flood switch didn’t fix the problem, GE sent me a third and no fix. So I changed the heating element and still nothing. What do I do next? Please help!
Thank you