I'm hunting for the title of a short story where a senile old man appears in a capsule in a laboratory.
They eventually realize time is passing backwards for him. After years he helps them build the machine he's in, and he changes places with the him that has been aging normally in the timeline.