As someone who spent about 15 years as a career job-hopper, I don't see it as a negative. I have huge time-gaps in my resume, which I also don't see as a negative.
When they come up, I have reasons: I do a lot freelancing; I work as a hired gun a lot, to solve a specific problem and then ride off into the sunset. I took time off to learn new skills, to write a novel, to make a video game. Neither job-hopping nor gaps in my resume have ever stopped me from getting a job I wanted.
But often, it doesn't even come up. If I have the skills they're looking for, and they feel good about me in the interview (I interview well), it's all moot. And when I get the gig, I do a great job and then leave on good terms.
I'm honestly not sure why job-hopping is such a scary thing in these forums. Maybe it's because I'm in IT, where job-hopping and freelancing are pretty normal. I've heard people look at you funny if you stay in a job more than 2 years. *shrug*
If OP just says, "I worked for Company A, left for Company B, and then Company A wanted me back and made me a really generous offer, so I took it," I'd take that as a vote of confidence from Company A that this person is a good egg and a coveted employee. You can spin the story (without dishonesty) to make yourself look good.