It’s a 5.9, here’s the link https://www.baymotorstx.com/details/used-2006-dodge-ram-2500/92010953
Wow that thing looks clean, including the Carfax.
You still need to check for previous accident and flooding damage history though.
Plus all the usual checks, brakes, suspension, cold start, etc.
The 2006 trucks are not perfect and that truck will have the early G56 trans which will be no fun on the freeway with the stock tires.
US$24k may be high for a 2wd but it would likely be twice that if it was a 4wd.
If a 2wd truck fits your needs, keep and eye on it and up your offer on it in a few weeks.
Around here, 2wd trucks are very slow to sell.