A federal judge on Thursday ordered President Donald Trump to lift his ban on three media outlets from the White House on a temporary basis.