The five-year labor deal would prevent a strike by roughly 330,000 package-delivery drivers and package sorters.