There are tons of companies that need programmers to solve problems. If you have a base understanding already in a field, work towards programming things in that field. Having deep knowledge of a field can help you.
You didn't give much info about your background. If you can use an existing job to start doing programming, do it. If you are an office worker and use Excel for nearly anything, that can also likely be solved as a CRUD web application. Do it on your own time if your employer won't allow work time on it. Also look into automation of things you or co-workers do.
Generally speaking, I would say outside of careers requiring extreme amounts of education/certification (medical doctors, rocket scientists) you can generally switch careers from anything to anything. The advantage with programming is you can learn 100% of it online and you don't need a degree to enter the field.