Investors are facing a pivotal week as a key measure of inflation that hits Tuesday and the Federal Reserve’s interest-rate decision on Wednesday are expected to set the tone for the stock market and economy heading into 2024.