You have enough time. Catch the airtrain, it'll take a minute to go from one terminal to the other. Just be clear of you need to pick luggage at T3 or
if it's gonna be directly sent to your new flight. I guess it will be first, so do immigration, pick your lugagge and follow the directions to airtrain.
You have enough time. Catch