Since you say terminal 5 (JB) has its own customs, if flying from SXM into JFK (JB) you would go directly to terminal 5, clear customs there, and already be in the terminal you need to be in? Would have to clear TSA before your connecting flight?