Can a 94 ford 4.9 engine fit in a 89 F150?

I have an 89 ford f150 with a 4.9 and need to swap the engine. All I need to know is, can a 94 4.9 engine fit in an 89 where I can just put it in and not change anything up?

The block is the same so you may need a few parts off the old motor maybe intake depending on fuel injection type. But over all it seems minimal