FedEx shares surged afterhours after the company reported earnings that beat estimates.