A judge on Thursday agreed to continue to block the federal government from freezing billions of dollars in funding to states.