We study the impact of gravitational slingshot effect from massive astrophysical bodies on the distribution of cold dark matter in ultra-faint dwarf galaxies. Such massive astrophysical bodies are intermediate massive black hole from the remnant of Pop III stars. Multiple gravitational encounters of a lower mass dark matter particle with massive astrophysical bodies would lead to an average energy gain for the dark matter, similar to second order Fermi acceleration. We calculate the average energy gain and model the integrated effect on the dark matter profile. We find that such slingshot effect due to the remnant of first generation stars were significant in certain cases, which changes the dark matter distribution at the galactic center and flattened it from an initial cusp profile.