1998 Polaris Sportsman 500

Hey guys I have a Sportsman 500 that has a electric problem I belive. So this is what it is doing I have resently replaced the start/stop/lights handlebar switch, when conected to the motherboard you can start the atv and shut it of, all the lights work. But the four wheeler starts to what seems like is miss fire. when disconnected I can start the atv with the pull start and it will run just fine. If anyone knows maybe some sort of diagnosis I can run or what I can do to find the malfunction I would greatly appreciate it.