Boeing Co. (BA) stock is taking off again after announcing a deal with FedEx Corp. (FDX) .

Shares of the world's largest aircraft manufacturer rose on Wednesday, June 20, after FedEx Express, a division of the package delivery company, inked a $6.6 billion deal on Tuesday with the Chicago-based aerospace company for 24 medium and large freighters.

Shares of Boeing rose 0.2% to $341.76 at 11 a.m. New York time; the stock had reached $345 earlier in the trading session. Meanwhile, FedEx shares fell 1.9% to $253.34 as the order will increase the company's capital expenditures in 2020 and 2021 due to incremental aircraft deliveries.

FedEx ordered 12 767 freighters and 12 777 freighters, valued at $6.6 billion, as it takes steps to modernize its fleet by replacing aging freighters, such as the three-engine McDonnell Douglas MD-11.

"We've added very few incremental planes along the years here," FedEx Chief Operating Office David Bronczek said during a conference call on Tuesday. "On the other hand, if we continue to see strong growth like we're seeing now, we could use them to add capacity."

The air cargo industry has been growing recently as carriers are adding capacity to keep up with demand. Boeing said it has sold more than 50 widebody freighters this year, including this latest order, and plans to increase production of 767 planes from 2.5 to 3 per month starting in 2020.

"A year after demand grew by nearly 10%, global air freight is on track to increase by another 4% to 5% in 2018," Boeing said in a statement.

The Memphis, Tenn.-based FedEx is the largest operator of the 767 and 777 freighters and a major operator of the Boeing 757 freighter. Its rival, United Parcel Service Inc. (UPS) ordered 18 aircraft from Boeing this year, including 14 747s and four 767s.

More from Markets

Tencent Posts Big Second Quarter Earning Miss as Game Problems Persist

Tencent Posts Big Second Quarter Earning Miss as Game Problems Persist

Stocks Slide, Dollar Rises as China Markets, Lira Crisis Keep Investors Cautious

Stocks Slide, Dollar Rises as China Markets, Lira Crisis Keep Investors Cautious

U.K. Inflation Rises for First Time in 8 Months as Pound Continues to Tumble

U.K. Inflation Rises for First Time in 8 Months as Pound Continues to Tumble

RBS Confirms First Dividend In a Decade After $4.9 Billion DoJ Settlement

RBS Confirms First Dividend In a Decade After $4.9 Billion DoJ Settlement

Tesla's Musk Has Serious Dell Envy; Hedge Funds Reveal Portfolio Changes - ICYMI

Tesla's Musk Has Serious Dell Envy; Hedge Funds Reveal Portfolio Changes - ICYMI