In order to be certain you get appropriate shocks of the correct length that won't bottom out or be too short (you don't want the shock limiting your droop), you should fully cycle your suspension and measure the fully extended and compressed distances. If you remove the one end of the current shocks and then jack up by the frame, you can measure the fully drooped distance. Measuring the fully compressed distance is a bit more difficult and to be completely accurate you would have to remove a spring to allow full suspension travel, but you can also measure the distance to the bump stop with the fully loaded weight on the ground, (assuming they have been corrected for the lift). Once you have these measurements, you can find a shock with the correct ends and travel. Here is a table from Fox.
https://www.ridefox.com/fox17/dl/off...2015-lores.pdf