Might be able to help,depends since I don't know much about toyota.I just did a 4AFE swap which is a 1.6l,I think the 1.8 is very similar/same.
The original engine had a crank sensor,and the replacement did not.
Luckily,the mounting boss was built into the oil pump cover.
I ended up swapping it over along with the crank timing gear which had the reluctor built in.
I have some pics,might have the cover in there.


Not sure if your's is same family of engines (I think it is). If so,than maybe find out what the stock signal resoution is and see if it corresponds with something you can use.
Than it could be as easy as swapping the oil pump for an easy crank sensor.


The application with the 1.6 and crank sensor was a 1997 Geo Prizm (same as Toyota Corrolla).
The donor engine without sensor/boss was a salvage engine labeled as a 97 Corrolla.