Answer
The Marvel film that Goggins appeared in during 2018 is "Ant-Man and the Wasp". Goggins played the character of Sonny Burch, a black-market arms dealer who operates in San Francisco and an acquaintance of Hank Pym. In the film, Goggins's character becomes involved in Hank Pym and Hope van Dyne's mission to retrieve the lost Wasp suit and rescue Janet van Dyne from the Quantum Realm.