It'll be close, that '94 should have the earliest 24v 3.0. You'll be swapping the oil pan and pickup tube for sure though.
Check to make sure you have crank and cam sensors on both trucks then i'd say go for it.

Now if your '94 is a 12v it's a lot more involved.

Note: 12v has 1 coil and 24v has 3 <easiest way to tell if you're not familiar


1999 Montero SAS'd on Kings and stuff

1998 Montero trying to get a V8 Swapped