S&P 500 beating Nasdaq for fourth day as investors shift focus