is 2 hours enough time to connect to a flight? Flying from NYC to MEX

is it a bit tight 2 hours connection or should i be ok?