It's USC, so it's super expensive... but they have a CS masters specifically intended for people with science/engineering backgrounds:
MS in Computer Science - Scientists and Engineers - USC Viterbi | Prospective Students
That said, I'm hesitant to tell anyone to borrow a bunch of money for school, especially in a field like software engineering where self-taught people can find jobs fairly easily. As easily as with a CS degree? No. But easily enough. I don't have a CS degree, and I was a software engineer at Bay Area tech companies, both small and large.
Here's what I'd suggest, if you're serious about exploring the CS/software engineering route.
(1) Self-study with free (or very cheap) online resources. Don't sink tons of money into training if you can make progress on your own...especially since you might not even like programming in the end. One example resource is
Learn to Code — For Free — Coding Courses for Busy People. I can't vouch for it or any other online resources personally, though – I was old-fashioned and used books.
(2) Look for entry-level jobs. The easiest route may be to look for paid software engineering internships. These often convert into permanent positions after the internship ends, if you do great work during the internship. There are also companies like
Triplebyte: Engineer Job Search, Refactored. that will interview you, then pass you along to a lot of other companies if you pass their generic interview.
(3) Learn on the job. Work your way toward the company you want to land at.
(4) Enjoy the money you saved, the remarkable software engineering job market, and the inflated paychecks.
Note that all of the above is predicated on you enjoying programming and software engineering. If you don't, then maybe think about the PhD route a little more. But do not get a PhD if the main reason is to find a job...you need to love the subject and love research. I have many friends with PhDs from "top 5" institutions and first-author publications in the major one-word-name journals. Some ended up in academia, most in industry, and not one of them had an easy job search.