Back to square one
Removed and cleaned all grounds, new ECM ,new bank sensor, new fuel pump( walbro auto zone) visually inspected triple clamp area wie harness striped off covering then rewrapped bike gets warm after riding and still dies let cool and will restart while running wiggle everything and it runs fine
1) Have you pulled your fuel pump to insure IT does not have a wire that is grounding out inside the frame?
2) Have you tested your charging system?
If you're sure all the exterior grounds and wiring are in good order I would start looking into the two systems mention above.
But I'm no expert. I'm merely suggesting you leave no rock unturned.
Also, you mention your CEL lights up. Have you run a diagnostic with either ECMspy or ecmdriod to know why they CEL is lighting up? That would have been step number one, for me, if these running issues were happening to me.
Removed and cleaned all grounds, new ECM ,new bank sensor, new fuel pump( walbro auto zone) visually inspected triple clamp area wie harness striped off covering then rewrapped bike gets warm after riding and still dies let cool and will restart while running wiggle everything and it runs fine