Man charged for firing gun in front of children