Take the new job. Use the free hours to brush up your dev skills.
You should have no problem getting a dev job within a year. Make sure your study is focused, you don't need to know everything about everything. Pick a niche and study that and execute some projects in that niche.