In your 1998 Dodge ram 1500 4-wheel drive why won't the front wheels lock in when you engage it in 4-wheel drive?

Sounds like it might be the vaccum switch on the front axle.