That doesn't sound like burnout. That sounds like cyclical depression or maybe even bipolar disorder.
You should discuss this with your doctor. There are a lot of things that could be driving this and while it might be job related, it doesn't sound like it's specific to one job.
Most people aren't exactly excited to go to work. Finding something you are passionate about might help a bit but it's not always viable. Better to find a way to reframe work in a positive light or find a career where you are helping someone or teaching someone. I work in Healthcare and while it can be stressful long hours it's rewarding when you help someone or I have a student that I can teach.
I think if other options are exhausted you might benefit from medication to help with the extremes you're describing. Although that's of course a discussion you should have with your doctor.