I've been using this rubber/vinyl glue for medium duty repairs with good success. I would cut the trim at either end of the run. Get it positioned where you want it, then use dabs of glue to hold in place. I would NOT USE EPOXY! That sets up hard.
https://www.loctiteproducts.com/en/p...eadhesive.html