U.S. stocks rose to fresh highs Friday, capping a cascade of records around the world.

The global economy and corporate profits are showing signs of strength, boosting stocks both in the U.S. and elsewhere, some analysts and investors said. The Dow Jones Industrial Average, S&P 500 and Nasdaq Composite were among the global indexes, including Germany’s DAX and South Korea’s Kospi, at records Friday.

The...