95 Polaris xplorer

My Atv has recently been over heating and I thought it may be the thermo sensor so I hooked the fan up to the battery just to make sure and it worked so I wired a toggle switch and rewired the fan but it’s still over heating the light is no longer coming on which I knew would happen but I need help on this one any thoughts???