If you are returning on an ESTA you can use the APC kiosks which are still much quicker than queuing up at the desk. If you plan to travel multiple times a year to the USA then look into Global Entry.
Neither of these help if you are checking a bag to JFK as you just get to wait longer by the baggage reclaim belt.