If you have only carryon, and have paper boarding passes for your MIA flight (must be paper, not electronic) then you can skip Immigration in SXM. There's a Transfer Information Desk just before the Immigration hall, and a small security checkpoint just past the desk. With carry-on only, passport and paper boarding pass in hand, use that checkpoint and go directly to your gate.