Stocks powered through a turbulent few months to log their best quarter in years. Keeping pace won’t be easy. The largest oil shock in history, worries about the longevity of the artificial-intelligence boom and the prospect of higher interest rates haven’t derailed the records. The market overcame those headwinds, thanks to highflying chip stocks that are the biggest AI winners of the moment, as well as confidence that American corporations will continue to churn out higher profits. Many think those same forces could lift the major indexes for the rest of the year. Thomas Carroll, equity strategist at Stifel, recently…