Question about tax year.

I was a member of a class action lawsuit against a former employer. A payment was sent to me in December of 2022 which I never received. I also had no knowledge the payment had been sent. I discovered in June of 2023 that payment had probably been lost in mail and I got the check reissued. I received the check on June 12th of 2023. The payment was allocated 50% W2 and 50% 1099. Along with the check, I received a W2 and a 1099 for tax year 2022. Am I OK with filing this on 2023 tax return? If I amend my 2022 tax return, I will have to pay penalties for underpayment of money I only just received.