Trump had sued the paper and media mogul Rupert Murdoch over a story reporting on his ties to wealthy financier Jeffrey Epstein.