Answer: The chemical formula for the compound formed will be

Step-by-step explanation:
Barium is the 56th element of the periodic table having electronic configuration of
![[Xe]6s^2](https://img.qammunity.org/2017/formulas/chemistry/high-school/ri8fye8cbf955ai7imnul949jhvxq9ovj8.png)
This element looses 2 electrons and thus shows an oxidation state of +2 units.
Sulfur is the 16th element of the periodic table having electronic configuration of
![[Ne]3s^23p^4](https://img.qammunity.org/2017/formulas/chemistry/high-school/o7v8v61222xy81e25kxyj39eoovdbfwlly.png)
This element requires 2 electrons and thus shows an oxidation state of -2 units.
By criss-cross method, the oxidation state of the ions gets exchanged and they form the subscripts of the other ions. This results in the formation of a neutral compound.
Thus, the chemical formula for the compound formed will be
