i will be riding in 5th or 6th gear when the bike shut off, the back wheel locks up and until i pull the clutch in, stays that way. i know it has somethig to do with the wiring but idk where to start...
Still a bit confused, could be caused by interruption to fuel. Start at the petcock to see if there is a steady stream of fuel, and work down diagnosing and fixing.
Check the float level and make sure there is no crud in the carby.
It sounds like from your explanation that you are starving for fuel after wide throttle openings.
If problem still exists after thoroughly cleaning the fuel system, then go looking at the electrics.