A federal judge weighing a request by TikTok owner ByteDance Ltd. to block U.S. President Donald Trump’s U.S. ban on the video-sharing app told the government to delay the ban, which is effective Sunday night, or file a brief Friday arguing its position.