Deductions & credits

since the repayment occurred in the same year as the receipt you can not use section 1341. that's only when the repayment occurs in a different year. the employer is supposed to reduce box 1 wages on the 2022 w-2 by the $5,000 

*

if box 1 is not correct contact them and ask why they won't correct it. if they refuse you can tell them you'll be contacting the iRS and to expect a letter from them. 

see this link for further instructions if box 1 is not net of the $5K