Nancy Pelosi, who made history as the first woman to become speaker of the House in 2007, will step away from the helm and make way for a new generation of Democrats, she announced Thursday, marking the latest and most significant twist in Congress’ leadership shakeup following the midterm election.