The judge lifted the stay that had been blocking the program's termination.
Senators on Capitol Hill have reintroduced a bipartisan bill known as the "DREAM Act."
The decision could potentially allow thousands of immigrants who have been subject to mandatory detention to be released.
Fidel Rivera, a husband and father who has been in the U.S. for 30 years, is one of thousands of undocumented migrants who have self-deported due to the threat of arrest.
Demonstrators say immigrant New Yorkers have been illegally detained in Federal Plaza Immigration Court, usually after routine hearings.
A group counts at least 18 cases where recipients of the DACA program have been deported or are at risk of being deported after being detained by immigration authorities.