So I would suggest looking at the question from this angle. What excites/motivates you enough to invest some time in it? What kind of job or context do you see yourself working in? If you are academically oriented, getting a degree will probably bring you the most satisfaction while you figure out the next step. If you’re more practically minded, I would suggest building your own one-man business, capitalizing on your interests and expertise (ML to automate lawyery stuff?)
Given your past experience, I don’t know what you would learn in a bootcamp and (in my opinion) a bootcamp on your resume has weak signaling power. I would suggest looking at apprenticeship degrees, where you’re at school part-time and work the rest of the time. They’re pretty common (in France at least) and some of them are explicitely targeted at people who already have had a first non-IT career. The upside is that you’ll get to work early on (these schools will usually help you find a company). The downside is that you’ll be working in a junior position. But, aside from starting your own business, I don’t see how you can avoid that.
FWIW, in my company we have an apprentice data scientist who used to be the GM of an industrial company in Asia! He caught the data science bug a few years back and he’s having a blast going back to school and learning on the job.