The S&P 500, driven by tech stocks, is on pace to power more than 5% higher this month, marking one of the best performances in May since the 1950s.