Close...
There are actually three different events with similar names but different purposes / formats.
1) The Pan American Games, which, as mentioned above, happen every four years, contain multiple sports, and are like a mini-Olympics (currently underway in Santiago, Chile)
2) UWW Pan-American Championships, which happen every year (including Olympic years) and as far as I know are open to all member countries. Next up in Acapulco, Mexico Feb 21-25, 2024. These do not impact Olympic qualification.
3) UWW Pan-American Olympic Games Qualifier, which happens in Olympic years only and is open to any country that didn't qualify the weight via the prior year's UWW World Championships. Next up in Acapulco, Mexico Mar 1-3, 2024 (some sites say Feb 29 start). Top two finishers in each weight qualify. Any country that doesn't qualify the weight can go to the last-chance UWW World OG Qualifier in May 2024 in Istanbul.