Engine Swap 1989 Corolla 5SPD 4AF

Hello I just my new project car and it’s an 89 corolla 5 speed. It worked fine until the tranny got stuck in third and now it won’t come out. I was going to just replace the tranny (C50) but it’s so hard to find one where I live. So months go by and I still can’t find one and I thought, screw I’m just gonna swap the whole engine. What kind of engines do you know that will work without hard modifications. Also maybe a website to buy a transmission