The lemon deal will basically get your $'s back less a per mile cost; probably your most cost effective option where the vehicle leaves your possession.
In parallel you can also pursue a trade option; that would get you numbers to compare.
The engine issues with the gasser's existed when you bought the truck and they exist today. Customers aren't concerned enough to stifle demand, I don't believe you will be impacted by a dollars loss, rather it's going to impact your happiness now that you've experienced a failure.
Comparatively;
My ecoDiesel has logged 2 days less then the required number for lemon law, my Duramax 3.0 spent a few weeks in the shop but not enough to hit the limit; none of them are immune to issues.
We also have 3 6.2's 2022 and newer, none of them have had any issues of any kind, one has 80k miles on it. In my garage, the gasser's are more reliable then the diesel's
.