might be a simple as a broken ground wire. When it revs it looses contact, you replaced the box right. Test the coil and stator, she may not be making enough juice. hopefully its something simple. I had pro design kill switch that did the samething on a quad that had me stumped, I threw a few 4 letter words at that machine for a while. just a thought
"If you are going to piss like puppy, Don't Get Off The Porch"
Trikes:
84' Suzuki ALT185 (old Orange)
85' Yamaha 225DX, piped and spaced ( First Girlfriend)
Quads
87' Yamaha Banshee, built and very very fast (The Whore)
01 Yamaha Raptor 660, built and piped (The Beast)
03 Suzuki Vinson, 26's and piped (The Crowd Pleaser)
Once apon a time:
85' Tecate 300 alky flattacker, 6 in over swingarm, 88 Suzuki 500"Quadzilla"PIA , 91 Yamaha Warrior Built and Modded. (luved that Baby Tank)