Cycles stop working intermittently

Cannot figure out why the rinse and spin cycle on my GE top loader intermittently stops working then does so again. I suspect the door switch, but it even stops the rinse cycle which I don’t believe is affected by the switch.

I am having a similar issue with my GE Top load, it will just randomly work or not work. I have replaced the door switch and still having the same issues.