You can do it, but it will be tight. Hopefully you don't have checked luggage. I've run from T1 to T4 - about the same distance to make a flight leaving 30 minutes later and made it with carryons only. Go across the ground (arrivals) level, not the departure level.
Good luck!