The U.S. stock market marched higher Tuesday, giving the Standard & Poor’s 500 index its best day of the year.