If it were a steel frame and fork there would be no question -- steel lasts nearly forever, even when moderately rusty, and can take all sorts of abuse.
Aluminum is a bit less robust, but if it only has "a few thousand" miles on it (and not 30,000) and has not been abused (or hit by a car) then it should be good. The problem with aluminum is that it can develop hidden cracks, but you've given us no reason to suspect that of this bike.
The carbon fork is also less robust than steel, and can develop hidden cracks. But again, unless there's something in its history to make it suspect then it should be fine.
Certainly age is not a problem. Nothing really "ages" on a bike beyond the tires (and, to a slight extent, the lubes). (It could be true that the carbon fiber will deteriorate after 50 years or so, but that's something for your grandchildren to worry about.)
Frankly, I'm a little curious as to why you're concerned.