Last time I landed at JFK in T3 for a connection, it took me about 10 minutes to go from T3 to The Oasis lounge via the Air Train.
The trip back to T2 takes about 15-20 minutes using the Air Train as well...maybe someone knows a better route, but walk from the T2/3 Air Train station to T2 is about 6-8 minutes outside.