Disconnect any grounds that you forgot to reconnect? Like at the back of the head or something?
Is the battery ground making good contact to the terminal...my truck runs like CRAP if the battery ground isn't connected well.
I assume you have adjusted the timing by rotating the dist. and that didn't get you a decent idle?
I bet it is electrical. Keep checking grounds...