08 Rancher 420 ES Intermittent Shifting

Alright, My boyfriend has an 08 Rancher 420 electric shift. Every now and then it acted like it didn’t want to shift. Well the other day it had to be revved up to shift and a couple minutes later it wouldn’t shift at all. Walked back home got my 300 to pull it back and it shifted fine but once we got home it didn’t want to shift again. It does this randomly, every now and then its fine but for the most part now it acts up. We have swapped the battery, checked the shift motor and it works and the connector looks good. We have both looked over the wiring and didn’t see any issues. It does have the code 24 that flashes. I have downloaded the manual and tried some of the trouble shooting and it checks out. But I had to come back for the wiring diagram.I Anybody have any ideas?