Recently had similar issue with my 08 Heritage. 3 instances in about 3 weeks, first was just a short 1 to 2 seconds of the motor just shutting down and then back on. 2nd time, fire went out one day shifting into 2nd. Stopped switched ignition off and on, nothing. Tried it 2 or 3 times more times, still nothing. Everything else was on, lights etc. Reached up and turned the kill switch off and back on, and it fired right up. Couple weeks later I was going down a Interstate entry ramp at about 70, shifted to 6th and fire went out. Hit the kill switch off and back on real quick and it re-fired as soon as the fuel hit cylinders. Called dealer told tech about it. Both of us agreed it seemed to be a bad kill switch although he said he's never seen a bad one. Took it in, he ran the codes and found none. He put a new kill switch on it, actually he replaced the entire right hand switch module. I've run about 2500 miles since and no issues. I feel my problem is resolved, just putting this out there for you as something to consider. Good Luck.
- dorr