Costa Rica and the U.S. government have reached an agreement to potentially provide legal options for Nicaraguan and Venezuelan migrants…