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

Plug connection from M93*1B -->R6*1B