Alcoa Inc.’s speculative-grade credit ranking at Moody’s Investors Service makes it only the second junk-rated Dow Jones Industrial Average company in at least three decades. It took four years for the first to be ejected.

Alcoa Inc., the largest U.S. aluminum producer, posted third-quarter earnings and sales that exceeded analysts’ estimates after reporting improved productivity at its primary metals and engineered-products units.