Pennsylvania Democrats have made their choice for governor official, handing the nomination to second-term state Attorney General Josh Shapiro.