1996 or 1995 Ford Bronco engine swap?

I plan on buying a bronco in the next few years probably 3 and wanted to know if the 2021 bronco 2.7L Ecoboost V-6 Engine would be good enough to replace the old bronco engine and if not what would you suggest I'm not worried about keeping it original just great to drive around and even off roading sometimes

Added (1). what engine would you suggest putting in?

What parts to replace on a high mileage car?

So I'm thinking of getting between a Ford Bronco or a 4Runner to do light off roading and camping and having it for years to come. Not looking to spend more then $10k but at that price most of them have high mileage. So if I find one in good condition, what should be some things I replace and do for services?