If your TS4 dock isn’t working when connecting to your Mac and the power source, and you can only see your Mac gets charged by TS4 and outputs to external monitors but no other USB features nor 2.5Gb Ethernet feature, please confirm that the computer is running macOS 11.4 (Big Sur) or later.
macOS 10.15.x Catalina or earlier versions do NOT support any Thunderbolt 4/ USB4 devices such as CalDigit TS4 and Element Hub.
Please update your macOS to the latest version.