THE BRONX - Cops have named the gunman and victim in a fatal shooting outside a Bronx elementary school Wednesday morning. 

According to police, 43-year-old Dwayne Reid, of Larchmont, killed 45-year-old Lamont Smith, of Yonkers, in front of P.S. 112 on Schieffelin Avenue. 

The Edenwald school went into a "shelter in" mode as a precaution after the shooting. 

Reid is facing a number of charges, including second-degree murder and manslaughter.