My cousin has been living with us for the past four months along with her toddler so she can save up to get her own place. Yesterday, whilst my husband…

Literally what the title says. My cousin has been living with us for the past four months along with her toddler so she can save up to get her own place. Yesterday, whilst my husband was out, she asked me if we could talk. I thought she was going to ask me if she could stay a little while longer (the original plan was for 6 months) but instead she gave me a long speech about how she was in love with my husband, how she tried to make the feelings go away but they keep getting stronger and how she thinks he might be her soulmate.
She kept apologizing but said that when she sees him with her son, she knows her family is complete and he could offer her and her son the stability they need. I was honestly so shocked I just said “Uh, I need time to process this”. I’ve been avoiding her since, my husband has been holed up in his office working so he hasn’t noticed anything weird yet. I think I’m still reeling from the shock.

I can’t even ask her to move out because her family disowned her when she had a baby out of wedlock. I haven’t told anyone in real life yet either because I know they’re all just going to tell me to kick her out but I can’t make my nephew homeless during a pandemic.

What do I do?

She claims she’s had these feelings for at least 4 years and they’ve just grown so strong recently that she couldn’t keep it in anymore. Also, her son is 18 months!

One day when I was returning from work, my cousin was making strange noises and could be heard from outside, I slowly entered the house, my husband was at work and at least that’s what I knew. I enter the house, I hear the voices from above, I go upstairs, she shouted, “Oh my dream came true, I caught her with my husband in my bed making love.” I just looked at her, I knew what she experienced during these difficult times, and I said okay, I’m fine, I haven’t seen anything, but you, John, will leave my life forever. I separated from my husband because he was at fault because he fell into provocation and I don’t need him while I still talk to my cousin and have her as a friend. What do you think, did I do well?