Depends almost entirely on your background/experience/skillset/desired working conditions.
If you are simply burnt out energy wise, then you need to take a break. Career burnout is just like physical muscle strain – if not dealt with immediately, it can create greater issues or even permanent damage longterm.
If you just feel directionless, but antsy/ready to jump back into the game, you might join an existing startup on an equity-only basis. Since you'll lack the stress of needing to pull in revenue/become profitable NOW will be less, you can potentially have all the pluses of the startup lifestyle without as many of the soul-crushing worries.
Save your own idea for a second startup, when you have the startup experience AND social proof under your belt of an exit/implosion at startup #1.
Oh yeah, and if you're a developer, and looking actively for a startup to join… 😉
What should I do if I'm ready to quit my 9-to-5 job, to run a startup but am burnt out?