You should take a Java certification or something and find a job as a developer ASAP. There will be employers willing to invest on you during the relearning curve. If it ever happens again being assigned a non development position then its better to leave ASAP as opposed to waiting. Try to become a freelance to gain more control on your assignments, first locally then remote.