2009 Nissan Rogue - Trouble in the rear

Do I hav to replace the whole rearend in my 2009Nissan Rogue to replace the rear differential it’s all wheel drive

Depends on what is wrong with the rear ended. Do you have a diagnosis? You can take it to other mechanic for a second or third opinion.