If your electronics are freaking out and it's probably misfiring between 3800+4200 rpm, I'm guessing you've got a harness connector that got jiggled/pulled loose or a ripped off ground or something like that. Try letting it idle while you go along the harness pulling and jiggling to see if you can replicate the issues.