Narrative:

I was at 2500 ft MSL on mcguire approach coming from ukt, landing at 3n6. 5 miles from 3n6 I called mcguire and said I had the airport in sight. I thought I heard approach tell me to switch to VFR. I programmed my transponder to 1200 and landed at 3n6. When I shut down I was told by the airport manager to call ny TRACON. I spoke to someone who told me they would report it to the FSDO and I might be hearing from them.

Google
 

Original NASA ASRS Text

Title: PLT OF PA32 IMPROPERLY SELECTED VFR XPONDER CODE WHILE OPERATING WITHIN NY ADIZ.

Narrative: I WAS AT 2500 FT MSL ON MCGUIRE APCH COMING FROM UKT, LNDG AT 3N6. 5 MILES FROM 3N6 I CALLED MCGUIRE AND SAID I HAD THE ARPT IN SIGHT. I THOUGHT I HEARD APCH TELL ME TO SWITCH TO VFR. I PROGRAMMED MY XPONDER TO 1200 AND LANDED AT 3N6. WHEN I SHUT DOWN I WAS TOLD BY THE ARPT MGR TO CALL NY TRACON. I SPOKE TO SOMEONE WHO TOLD ME THEY WOULD RPT IT TO THE FSDO AND I MIGHT BE HEARING FROM THEM.

Data retrieved from NASA's ASRS site as of July 2007 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.