Don't do it. I regret every moment selling my 97 12v, 5spd 4x4. That truck was as stone cold reliable, efficient and powerful as they come, the problem was it simply rusted away. The dodge part couldn't keep up with the Cummins part. My "new" 2004.5 is a sexier, more refined, more user friendly truck, but the automatic transmission (in stock form) leaves a lot to be desired. The injectors are expensive when it comes time (and it will come time), the fuel filtration is marginal at best in stock form, the fuel efficiency is easily 2-3 mpg less than the truck you are walking away from (my experience mid 18's down to high 15's/low 16's) and with all that being said, I think the advantage to owning a newer diesel truck has come and gone. The outstanding mileage compared is no longer there, the low maintenance costs after the initial purchase have eroded as well. I think a real long look needs to be taken as to how you use the truck, what your tolerance for fuel economy is, especially considering the cost of diesel, and how long your really see yourself owning the truck. After doing all that, you may find that the diesel option just doesn't make $en$e any more.
If I could undo my purchase and get my 12v back, I'd do it in a heartbeat and pay the guy double to do it. That was the last truly great diesel powered truck, hands down. My "new" truck is nice, the rear cab area is much more usable, the ride is better, the interior is laid out better, but I'd trade all the "nice" to get the simplicity, economy and durability and unwavering reliability of my 12v back. I drive my "new" truck like its on eggshells, just waiting for the injectors to fail, transmission to give out and fuel pump to sputter and die. And my new truck hasn't given me an ounce of trouble, so I'm not scorned due to some large repair bill I just swallowed, its just I know that it IS coming.
If the 98 12v is structurally sound, the drivetrain is in good shape, then I'd run it until there's nothing left, then rebuild it and start over.