Stocks rallied in the United States and overseas Monday after last week’s gloomy jobs report led investors to expect that the Federal Reserve will wait even longer before making its first interest rate increase since the financial crisis.

Energy stocks rose along with the price of oil, and General Electric pushed industrial stocks higher.

On Monday, the Dow Jones industrial average added 304.06 points, or 1.9 percent, to 16,776.43. The Standard & Poor’s 500-stock index rose 35.69 points, or 1.8 percent, to 1,987.05, and the Nasdaq rose 73.49 points, or 1.6 percent, to 4,781.26.

It was the fifth straight day of gains for the S.&P. 500, a reversal of the five consecutive losses for the index right before the rally began.