It sounds so random, you may have an ECM wire shorting against the frame somewhere or bad battery connection. Can't hurt to pull off the seat & plastics if you have to and check. If nothing, might try checking or even changing you're spark plug wires for new ones, the crimped end that goes over the plug may be wallowed out and loose on a plug. - Just throwing stuff out there, hope you find it.