Can I get infected when I shake hands or embrace a person with TB disease?

No.  Tuberculosis is not spread through touch or contact with skin. See above: How tuberculosis spreads?

Transmission of TB