Need some advise on connection times at the Miami airport.

Flight from SXM arrives at Miami at 6:10

Connecting flight leaves at Miami at 7:50

Is this enough time to clear customs and security?

thanks