how did you end up with this problem..... as in, you got the motor, put it in the car and went to start it for the first time and it does this? OR you were driving it all over town and just out of now where, it wouldn't start?
It sounds like a timing problem, but timing doesn't typically just jump on its own...
I'd also check compression just to rule it out...