Please help me

I just recently put a motor in a 1996 lincoln town car i fired it up for the first time everything is connected. well the car starts but will not idle, so i unplugged the MAF and he idles but revs up and down and seems to have a little shake now there was no check engine light on till i unhooked the MAF

The IAC (Idle Air Control) may be faulty and/or the throttle body may need cleaning.

It sounds like you either have a bad MAF, or more likely a big air leak somewhere between the MAF and the engine.