The crank sensor DTC seems to keep coming up and you replaced the old sensor so it would seem that the wiring may be the next place to to look.
Since the problem is intermittent the wiring is probably. the culprit, if the crank sensor went out the bike wouldn't run right if it ran at all.
The crank sensor is part of the main harness that goes directly to the bikes ECM, so there may be a short to ground somewhere in the wires, Start with the plugs at the sensor and work back to the ECM.
You could also have a bad connection at the ECM plug and if you are using a aftermarket tuner in line you may want to take that out and see if that is the problem.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
08 FLTR candy red sunglo,with 2015 103 HO, V&H Dresser Duals with Monster Rounds, Power Vision tuner, Willy Shiny Wheels and Forks and a bunch of other stuff.