In his ruling, Garaufis said the terms of the federal program must be immediately restored to what they were "prior to the attempted rescission of September 2017" when the White House began a series of maneuvers to dismantle the program.
The judge also instructed officials to reinstate two-year permits for qualifying applicants. Over the summer, the administration had begun issuing one-year permits.
DACA currently protects about 640,000 undocumented young immigrants. As of July, an estimated 300,000 young people living in the U.S. are eligible for the program and still waiting for a chance to apply. That includes 55,000 who have aged into eligibility over the last three years.
"The ruling is a huge victory for people who have been waiting to apply for DACA for the first time," Veronica Garcia, staff attorney at the Immigrant Legal Resource Center, said in a statement.
She added that acting DHS Secretary Chad Wolf's "decision to suspend the program was just another attempt by the Trump administration to wield its extremely racist and anti-immigrant views and policies."