Pennsylvania's high-profile attorney general, Josh Shapiro, will formally announce his candidacy for governor on Wednesday, entering the 2022 race months after making his intentions known and effectively clearing the field of potential rivals for the Democratic nomination.