2002 Rancher 350ES odd shifting problem

I have a 2002 Honda Rancher 350 ES that has an odd shifting problem. When you start up the bike it shifts perfectly, but after a couple of minutes it stops shifting with the electric shift at all. The only way to get it to work is to turn the ignition off and start the bike up again and it will shift for a few more minutes. I have had trouble with the main fuse blowing regularly, but it doesn’t seem to correspond with the electric shift stopping working. I haven’t got a monitor hooked up at the moment because it was smashed when I got it, so I can’t see any error codes. I have an 05 Rancher ES I was going to switch over some parts to narrow down the problem, but I was curious to see if anyone else had had this problem before and had a solution before I start switching parts over. Any help would be much appreciated.