Hi Carson,
The charging ports themselves don't seem to be too hard to come by; here's one that came up for me at Amazon on a somewhat cursory search.
Amazon.com: Mustpoint 2X Power Socket Charging Port for Nintendo 3DS DSi DSi XL Repair Replacement Part : Video Games
Check the pins, though; I saw some other parts for sale that were surface mount rather than through hole like this one, so you'll need to verify which one yours takes.
This assumes, of course, that you feel confident in your soldering skills as it will take a somewhat moderate amount of expertise with a soldering iron to swap this part out. Don't know if I need to point it out or not, but here's the motherboard replacement guide that'll get you to the point where you can actually do the soldering on the board.
Nintendo 3DS XL Motherboard Replacement - iFixit Repair Guide
Let us know how it goes, Carson! We love to hear success stories and can always learn something even when things don't go right.
Update 8/3/2023
Ah, gotcha. Here you go, I think this is the one you want.
NEW Socket Module Power Charger Socket Charging Port Dock For 3DS 3DSXL/LL USB Power Jack Socket Dock Connector Charging Port
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
2