If you have an unreported Form W-2 from a prior year, you would need to amend that year's tax return to report it.
You cannot report a prior year W-2 on your current year tax return.
How to Amend (Change or Correct) a Return You Already Filed