Catalysis of the reaction: 1-(5-phospho-D-ribosyl)-ATP + diphosphate = ATP + 5-phospho-alpha-D-ribose 1-diphosphate.
phosphoribosyladenosine triphosphate:pyrophosphate phosphoribosyltransferase activity