I would verify with your HR/Payroll first that you should have received 2 Form W-2s. It is not uncommon but I would check to be sure.
If both W-2s are correct, then you would need to enter each one separately. The IRS matches each form to what you report.