This exact same thing happened to me while Gina was in Australia. A slight rain came up as we were riding back to Brisbane on the highway and my bike inexplicably died, only to start and run as if nothing had happened an hour or so later. Of course Gina & I immediately assumed an electrical problem, as did the dealer when I took it in a week or so later. It took them three days to find the cause, and it was a sheer fluke when they did. Turned out to be that vent tube below the bike, which over 4 years had collected dust, oil, etc from the road, and when it got wet the stuff swelled up enough to block the vent tube and took an hour or so to dry out. The take home lesson here is to wash underneath the bike too.