1987 TRX 350 electrical problem

My older friend whom does not have access to the net, has been battling an electrical gremlin with his 87 TRX 350. Everything was working perfect until it started dieing on him when puting it into gear. It starts perfect and idles great. Most of the time it would run down the road without any problem at all but would just die every once in a while while driving. It then progressed to dieing when puting it in gear after starting up and idling without any problem. Eventually progressed to not being able to put it in gear without dieing every time.

Internet searches pointed to the fan control switch. Ordered a used one since you can’t get a new one any longer. This fixed the problem! But just for a short period of about two weeks and the same problem started again.

Is there a way to bypass the fan control switch? Or what could possibly be making this part to go bad??