It never occurred to me that the 2004 had the SOHC still. That's definitely a major issue with that engine design and that's why you see a lot of second gens in the junkyard. First gen it was the transmission, second gen it was the engine.
If you have access to a lift, hoist and all those dealer toys... go for it. You can fix it pretty cheap and with proper oil changes and quality oil, you'll easily double the mileage. The timing chains are by far the weakest part of the 4.0 SOHC.
As for larrydd999, you don't have to worry about that. It's only on the SOHC. Our first gens have the OHV, with only 1 timing chain that seems to outlast everything else on the vehicle. Cheap peace of mind to replace though.