As above - a license to practice medicine cannot be given to an IMG in NY state until a residency is completed. You will not be able to "moonlight" or practice medicine outside of your residency during your PGY.
If you went to a US medical school, you can gain your license after a min. of one year - but program directors can block the ability to moonlight.