Electric problems

Have a 86 trx250 fourtrax, engine and chassis all sound. Wiring is a bit dodgy. Connections and fuses are up in front of handlebars so whenever I turned to the right it would kill the engine. Have gone through and disconnected everything and blown it out with air gun. Fuses are good but there are some wires fraying. Was working fine until cleaned out. Now it won’t spark and have no clue what to do know. Any suggestions?
Cheers