Rubber tends to degrade primarily from exposure to light, so if it's been boxed up it should be fine.
Ford give a 10 year service interval for a lot of timing belts, so a few years on the shelf shouldn't be a problem. The belts themselves very rarely fail anyway, it's usually a tensioner or something external getting caught in the belt that causes problems.