There are ‘working professionals’ masters degrees that are geared towards this type of thing. They don’t have the cachet of Stanford or whatever, but can be interesting and useful if you apply yourself.
If they accept you, they will make you take a prerequisite class to ensure you are at the right level.
I wouldn’t expect a monetary gain from this as college is quite expensive, it isn’t clear a degree noticeably increases your salary. I would recommend doing it primarily out of personal interest.
It does make the ‘foot in the door’ at a bigger company easier, but it’s not clear that it has directly helped me in that way due to the size of companies I normally gravitate towards. The knowledge has been very useful, however.