you can get an EX tranny, which is the best out of the d-series because it has shorter gears.
You will run through alot of headaches, like bolt seizes, getting that torque convertor off, etc.
If you're getting a 98 trans, you should look between 96-98 d16y8 ex tranny's because those will bolt right up. You'll also need a diff't ECU, harness, intake mani, distributor, etc
Hope that helps.