To buy duty-free in an US airport, cashier will request your boarding pass to make sure you're actually on an eligible (i.e., international) flight. Then as clacko mentioned, your purchases are bagged up and delivered to your gate. Varies slightly from airport to airport, but in most I've seen, your purchases are waiting for you on the jet bridge after your boarding pass is scanned.