"He pointed the gun at the victim to scare him, he pulled the trigger thinking the gun was locked, and the gun fired, shooting the victim in his chest and causing his death," the complaint said, according to Newsday.