Stocks rose across the board Friday, knocking off Thursday’s losses and pulling indexes within striking distance of all-time highs, with the market passing a major test as Federal Reserve Chairman Jerome Powell indicated a coming expiration date for high interest rates.