If you did a direct rollover, it is not taxable to you. If the money left your account in 2023, the form should be for 2023. You may want to confirm the date of the distribution before you file. You may have initiated it in 2023, but they may have actually distributed the money from your 401(k) in 2024 - - which would make it a 2024 form 1099-R - Distributions From Pensions, Annuities, Retirement or Profit-Sharing Plans, IRAs, Insurance Contracts, etc.
The deposit date doesn't impact the 1099-R, only the distribution date.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"