I received this same call that US Marshalls were coming to arrest me it was a recording of course. Had this been legit it definitely wouldn't be a recording!
Had it been legit, you'd have knocking on your door, NOT a recording from a scammer.
Block future calls if you're able to.
The IRS does NOT call, you'd be notified by U.S mail.