NEW YORK — A widespread rally swept Wall Street Friday, lifting far-reaching corners, to close a tumultuous week where stocks that had been left behind for much of this year’s record-setting run wrested the spotlight back from the market’s biggest stars.