Can having Baber's itch under the jaw cause swollen lymph nodes?

Depends on severity. I presume you mean BaRber's itch or pseudofolliculitis: irritation of hair follicles due to shaving. It is not uncommon for this irritation to lead to inflammation or even low grade infection. At least mild swelling of lymph nodes could result from this. Stay well:)