Toyota Pickup Rebuilt Engine Install

Hi …
I have a 91 Toyota 4x4 pick up with a 2.4 liter engine. I want to put a 2.7L engine in it. I have heard this can be done. Anyone hear of this. Is it possible? Any problems known? Anyone in CO do this type of work?
Thanks…Gimp