I did this back in 2009. Here's how to do it. Pick a technology stack that you want to get a job in and build a side project in your spare time. Attend meetups with experts in your local community and learn how to make it awesome. Build relationships with them along the way. Use those relationships to get some part-time contract work in said technology stack with someone local. Document this experience and build up a…
I emailed him and asked if he wanted to do the thing he was clearly passionate about full time.
He aced the interviews, came out and built our app. About a year later one of our founders left to start a new company. The founder recruited this guy. Within 18 months, their company sold for a few hundred million and now instead of writing the C# code he hated, he has now helped build an awesome company, build a whole new skillset and built his leadership skills. Not to mention the fact that his wife and child are basically taken care of for life because of this decision.