No clue

I have a 02 gmc sierra 1500HD 4x4 , when i apply the brakes it shakes like it has warped rotors and also makes a clanking noise. However i just got done putting new rotors , calipers , and pads all the way around it and this didn’t fix the problem. Also when put in four wheel drive , it still shakes but it does not make the clanking noise . Dont know what else to do!