Hello riya,
Well the question is very subjective as upsc has no of BA subjects to be chosen as optionals like one with all the languages english etc, history, geography , political science, sociology etc, go for whichever interests you the most study it thoroughly during graduation years that would help you, as for judiciary you if are interested you should go for a llb course or combined BA LLB course which will make you eligible for judicial examinations as well as law is an optional subject in upsc too, also with ba llb option you can study both humanities and law together.
Hope this helps
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile