As others have pointed out, you got off very lightly here.
I would add that you should speak with a US Immigration lawyer at the earliest opportunity as well. Your wife's immigration violation in Costa Rica attempting to illegally enter the country as an improperly documented person may have adverse affects on her US Permanent Residence and on any future applications for citizenship.