Not natively. Test Drive Unlimited 2 (2011) predates the DualShock 4 and lacks native XInput/DirectInput mapping for it.
Expect minor dead-zone issues; TDU2's input handling is dated.