1997 front wheels won’t engage

Hey pep’s, I have a 1997 sportsman 500 4×4. I’m currently at a lose as to why my front wheels won’t engage when in 4wd (button pushed to on).
I’ve been reading about it and it seems that most peoples speedos are the issue, however my speedo works just fine.
I can’t find a wiring diagram anywhere.
I popped the cover off in front to see the electrical board ad did find a loose wire (just hanging) on the left side. Its a purple wire tied in with 3 other wires. Can someone tell me where that goes? What else should I look for?