Major stock indexes jumped for a second straight session Friday, with AI-related shares again leading the charge as risk returned to the market.