You are thinking about the Ju 390 V1. It existed along with a second prototype. While William Green in several books stated that it flew to a point 12 miles from the US coast it in fact never made such a flight.
You might try searching for other threads on this site for more info. I know it has been discussed here before.
Ju 390 flight