A federal judge has decided to force a former Fox News journalist to reveal the source of a 2018 investigation into an academic who was the subject of a since-ended, years-long FBI probe.