A federal judge has ordered the Trump administration to temporarily lift a three-week funding freeze that has shut down U.S.