I looked into this myself a few years ago and this is my conclusion.
A masters degree is going to take you several years and be extremely expensive. Just to metriculate into the MS program, you’ll need to first complete a fair amount of math and programming undergraduate courses. The graduate level work that you’ll do will be pretty specialized and will be in the area of interest for the tenured professors in the department. It’s going to be much more academic than practical.
I do not recommend a MS as an entry point into a development career.
I’m a very academically inclined person and I changed careers before things like freeCodeCamp (or even paid bootcamps) really existed. When I looked at my options I found that doing a second BS would take me about the same time as an MS, have more broadly useful coursework, and cost 1/3 as much. I did that, but it’s not what I would suggest people look at first these days.
My advice would be to start by seeing how far you can get with self-directed study using tools like freeCodeCamp. You won’t be on your own, this is a large and extremely supportive community that can be with you throughout your journey. The foundations of programming, from “what is a variable” to solving complex problems algorithmically, is knowledge that I recommend anyone have before applying to any type of educational program. You can do that without a classroom environment and it doesn’t matter much which language you start with. If you find that you need the structure of a classroom environment, then I would begin to consider the pros and cons of different programs from for-profit bootcamps to universities.