Technology reached the stage where the future was known but the government ensured that key events happened as predicted. A woman thinks that she is being followed. It turns out that he is a government agent sent to ensure that something happens - maybe that she meets the man that she has a child with that becomes president of the US.
I probably read this in the 1960s. It was probably in an anthology of short stories. It may have been by Ray Bradbury.