NASDAQ and S&P 500 Reach Record Highs Amid Market Gains