The calculated distance (air line) between Oakland and Queens is approximately 32 miles respectively 52 kilometers.
By car or train, the actual journey to Queens is certainly longer, as only the direct route (as the crow flies) between Oakland and Queens has been calculated here.