Is it the transmission bad or something else???

My husband just got a 1989 Ford F-150 it only has 30,000 miles on it. It starts right up. The only problem is it sounds like when you go to put it in gear somehow something could be not connecting. It's also a 4X4 if that helps.