First thing first. Check/replace relays.
If the issue persists, run a direct feed to the wiper motors.
If the issue persists, then it may be the motors.
If it works every time you connect and disconnect the feed, then have a look at your multifunction switch assembly. There's been a few...