The benchmark S&P 500 closed higher on Wednesday after briefly crossing the 3,000-point mark for the first time following dovish remarks from Federal Reserve Chairman Jerome Powell boosting the case for an interest rate cut this month.