We don't have the same setups by any means but we both have sensors. Mine is a BLTOUCH, which I tried to run off of the 5V supply to the servo pins. It would reset Marlin every time you energized it. I don't know if your sensor runs off of the same 5V or if it is 12 V. If it's 5V, I solved the problem using an external 5V supply. Just thought I would throw out a possibility.
Folger Tech 2020 i3 and FT-5 as well as modified JGAurora A5 with direct drive E3D/Titan. All running the BLTOUCH.
Great kits. Having fun and running the heck out of them.
Running Marlin 1.1.0 RC8 on the i3 and FT5. Custom firmware on A5.
Folger Tech Wiki board >[
folgertech.wikia.com]