@Eimmanuel yes but I thought electrons must fill each orbital before moving to the D orbital so 3P2 3P6 then D or is this not the case
Bonding and filling of electrons are two different phenomena. When sulfur is bonded to 4 fluorine atoms, it undergoes what sometimes is called sp3d hybridization. You can watch the following video to see what is "hybridization" and is going on. https://www.youtube.com/watch?v=8n7pOeHjouQ