This may be too late to matter, but you have 2 challenges: clearing customs and then having to clear main security - the train forces you to go out to the main terminal and then come back through main security line back onto the train. The important thing in your favor is that there aren't many (any?) other international flights landing at that airside at that time, so customs should be quick. It's actually the main security line that will slow you down. Global Entry and PreCheck should help you make it, but you don't have a lot of room for error. Good luck