You need to make an adapter from the headliner's 2-pin Molex micro-fit to the sunvisors connector (which varies depending on which sunvisor you have).
For 2020- MS lighted visors, the connector you need is JST PNIRP-02V-S, which fits these visor connections:
For 2021+ MS lighted visors...