This Fits Your 2019 BMW M340i Sedan
Full size assembly image of Plug connection from X19*1B->X289*2B (1/2)

Plug connection from X19*1B->X289*2B