A US Judge issued the ruling in a case challenging the Department of Education's decision to terminate grants that support training teachers.