Smithfield man charged in triple shooting