You need 2 keybinds, 1 for assist and 1 for Interact With Target (IWT).

Because IWT requires you to have a target you will need to assist first and then hit your IWT key. AFAIK you cannot macro IWT, only keybind it.