Rebuilt motor just started and over heats

When the distributer gear is dropped in, it goes past the gear on the cam which rotates the distributer gear about two gear teeth's worth. If you lined it up when you dropped it in, then it is off. Either re-align the distributer gear by removing it and putting it in properly, or, and I am not sure if it is even possible, rotate the distributer a bunch to compensate. Out of time may run, but will run hot!