Can't see why a replacement Crankshaft position sensor of that design wouldn't be dead nuts centered in a hole in the block and read the same exact position as the one it replaced. I think you be fine with out a relearn on that one.
https://www.rockauto.com/catalog/moreinfo.php?pk=2414718&cc=1266825&jnid=358&jpid=3