How to patch concrete board plaster job
You can:
A) Install the new trim and fill the remaining gap with Spackle and/or drywall. Or:
B) Install a section of drywall to fill this gap and han install your trim on top of it. (This is probably the best route to take.