Thanks for the information. The question was posted in the immigration law section, but should have been posted within the educational law section, so there was a small mix up there.
Now to answer your question. The fact that you did your primary degree in another State is no impediment to receiving federal student aid in New York for a masters program.
To apply for federal student aid , you must complete the FAFSA application. This is a free application and is located at fafsa.gov website.The application can be done at no cost to yourself in 20 minutes. Please use this website as other sites sometimes incur a charge.
To be eligible for federal aid programs, you demonstrate on the application to have a financial need.Complete details of eligibility requirements are found at studentaid.gov.
In case you are not eligible there are other means available to secure funding for your masters program. These include : The federal direct parent plus loan , and or alternate private loans.
As far as the the State program in New York goes it is known as the TAP program. Tuition Assistance Program (TAP), New York's largest grant program, helps eligible New York residents attending in-state postsecondary institutions pay for tuition. TAP grants are based on the applicant’s and his or her family’s New York State taxable income.
There are a vast list of other Sate grants that can be found at : https://www.hesc.ny.gov/pay-for-college/financial-aid/types-of-financial-aid.html#horizontalTab2
So you can apply for the Federal, State and private loans as are most fitting your eligibility and requirements.
Please REMEMBER TO RATE MY RESPONSE POSITIVELY BEFORE EXITING 3-5 STARS
I am always prepared to follow up with you on your question if something is still of concern.
Best Of luck