I am also having this issue on new 16" when connecting directly to Dell 27" 4K (P2715Q) using either of 2 USB-C to display port cables. I use external dell in addition to the built in one and it works perfectly after initial boot. However, once laptop sleeps and is awoken again, the both built in and external keep flashing like they are constantly changing resolution. If I unplug the usb-c to display port cable I can use the built in monitor.
Typically I have to reboot, though one time I have had luck plugging it in and out to different ports and it finally worked without reboot. One of the cables this happens with is a brand new QGeeM USB C to Displayport Cable, 4ft 4K@60HZ Thunderbolt 3 to Displayport Cable.
I also tried clamshell once and the computer froze with a glitched screen and rebooted after about 20 seconds.
This monitor worked just fine on my 15" running Mojave using same cables. I did restore this 16" from time machine backup of the 15" FWIW.
Really hope this is a fixable MAC OS issue!
Thanks