If you are considering an immediate turnaround on a MR, I doubt it's feasible since check-in closes pretty early (to allow time for US pre-clearance). If you arrive on the JFK flight and depart on the ATL flight there's probably enough time as long as your inbound is not delayed. Arriving and departing passengers are separated - you will need to pass through Irish immigration.