It is being flagged as an error because if your brother passed away in 2023 his final return is the 2023 return. The IRS will not accept a return for an individual after the year of their death.
Income received in 2024 is Income in Respect of a Decedent, which is income he would have received if he were alive. If there is an estate, the estate can include the income on the estate tax return. The person who has the right to receive the income can report the income on their return. You would report as Miscellaneous Income with a description of "IRD W2 income from Name". See Income in Respect of a Decedent- How To Report.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"