How to adjust steering wheel back to center after installing a new upper control arm on a 1998 dodge ram 1500 4X4?

That is something that needs to be done at an alignment shop. Toe-in has been affected when you replaced the upper control arm and you probably affected caster and camber as well. When a good alignment shop adjusts the front end they will also put the steering wheel back to center.