A federal judge on Thursday gave the Trump administration until Monday to pay nearly $2 billion owed to partners of the U.S.