A Brockton man was arrested and charged in connection with trafficking fentanyl from his home while on GPS home confinement for two pending drug cases, U.S. Attorney Leah Foley announced Thursday.