which is correct-1.Caste politics has helped Dalits and OBCs gain better access to decision -making.

OR
2.Caste politics has helped Dalits and OBCs to gain better access to decision -making.

Either one works (with or without "to"), but the first sentence reads more smoothly.