Ok, so you used the "new" engine and head, your old intake manifold, right? Did you put a new intake gasket on, and get all the intake bolts tightened properly? If you have a vacuum leak (like from an intake manifold gasket leaking), it will rev high.
Does your check engine light work? Is it on, after you start the engine?
What was wrong with your old engine that you had to replace it with this one?
New block, head old intake with new gasket. Check engine on the old engine was on all the time it is off now.
the reason for replace was water in oil even after changing head gasket.
Sounds like the old block was probably cracked.
Hmm. Just by changing the head and block, that shouldn't make the CEL go off, if it was on all the time with the old engine running. The CEL lights because of a sensor that isn't working (or not plugged in), or one that is not sending info back to the ECM. Since you kept the same intake (and sensors), the CEL should still be on. But what it could be is that since you had the battery unhooked for quite awhile, the CEL got reset. So it will probably be off, until the engine has ran long enough to "set" the code again and make it light up again.
Does the CEL come on when you turn the key to run and not start the engine?
I'd go back and make sure you got the distributor installed in the correct place. If you are off even one tooth, it can make and engine run very odd. The distributor should also be pretty close to the center of its adjustment range. That will get the timing very close to spec., if you have not hooked up a timing light to set it.
Did the old engine have a miss? Did you reuse the old spark plugs, wires, cap, rotor, coil wire? If not, and if the old engine didn't have a miss, I'd put all of those from the old engine on this one. That should rule out any of those components causing the miss.
You have the spark plug wires on the distributor in the correct order? The distributor spins counter clockwise and 1-3-4-2 is the firing order.