The stock benchmark posted its best day since Nov. 30, 2022 after a better-than-expected jobless claims report helped ease fears that the labor market is weakening.