A federal judge ordered the Trump administration on Thursday to temporarily restore access to the three media organizations banned from covering White House events last week by President Trump.