Rockwell Collins Inc. agreed to pay $6.4 billion to buy B/E Aerospace Inc. in a deal that would unite two of the biggest suppliers to airlines and plane makers.

The proposed deal, confirmed by the companies on Sunday, continues the consolidation of the aerospace industry over the past two years as suppliers adjust to pressures from Airbus Group SE and Boeing Co. to cut costs.

The...