Hello and welcome to e health forum.
Just having intercourse with any person, does not mean, that you will get infected with HIV. In case, you had sex with sex workers or IV drug users, or people with risky sexual behavior, that would put you at risk of HIV and other STDs.
In case, you did get infected, with HIV, in 1997, then by this time, you would have had a full blown AIDS, and you who be very very sick.
The symptoms of enlarged lymph node either in your case of that of your daughter, are very normal, and they occur universally in every person, have a common cold. Hence you need not be worried about them.
Your anxiety due to your feeling of guilt, can be best relieved, by undergoing testing for HIV, and having a negative test result will help you move on with your life.
I hope this clears your doubts.