Chosen Solution

I was changing the joysticks in my switch lite and when I went to disconnect the power cable the entire connector separated from the motherboard. The first thing I did was look up if I could buy a replacement motherboard, but that would cost as much as the console itself and I simply can’t afford to spend that much money. I am trying not to panic but I don’t know what else to do.

You just broke the solder joints and luckily your pads are intact. If you buy a cheap soldering iron you can solder it back and it will work again.