"Imagine Christmas without Amazon!" U.S. District Court Judge Timothy S. Black wrote in his ruling.
About 250 pilots for ABX Air went on strike early last week in a dispute over working conditions and time off. Dozens of flights and more than 1 million pounds of cargo were held up.
The airline went to court to end the strike, saying its timing threatened to leave millions of dollars' worth of freight undelivered to homes and stores during the Christmas shopping season.
The Teamsters union, which represents the pilots, said the strike was causing ABX to cancel about 75 flights a day. Besides Amazon, ABX's other major customer is Deutsche Post AG's DHL delivery service.
Analysts said an extended strike would have forced Amazon to put more of its deliveries in the hands of UPS, FedEx and the U.S. Postal Service.
Timely, incisive articles delivered directly to your inbox.