stalling out

i just rebuilt a 360 put 484 284 cam. Balanced crank piston. put 650 holley new distributor 340 202 heads.My problem is starts up great idles good go to put it in ears falls flat on its face and dies.Turn up idle but then in park its idling at 1800 rpm to keep it running in gear. what can I do to resolve this issue,