After you delete your old W-2, as ee-ea advised, here’s how to get back to the place where you can re-enter the W-2. (Or you can click on “Federal Taxes,” then “Wages & Income,” then “I’ll choose what I work on,” and you’ll see it near the top of “Your 2022 Income Summary.”)
You could also just go there to begin with (and correct the erroneous entries), but ee-ea’s method has the advantage of restarting with a clean slate. Thanks @rotten562!