A federal judge has given the Trump administration less than two days to release billions of dollars in U.S. foreign aid.