1099 NEC

I received a separation agreement from my employer.  They agreed to pay my salary and health insurance for a year.  I had to enroll in and pay for Medicare as primary insurance.  They reimbursed me for the Medicare premiums and reported that compensation on a 1099NEC.  All other income was on a W-2.  Is the 1099NEC compensation taxable?