The best party in Final Fantasy XII depends on your fighting style. If you prefer straightforward combat, good weapons and armor matter more than any specific character choice.
For a more tactical setup, many players suggest having a tank such as Vaan or Basch because of their high HP. A healer or mage like Ashe, Penelo, or Balthier can provide strong magic support. Your main attacker can be whoever you like, though high attack stats help.
A common balanced team is Vaan, Balthier, and Ashe. Use Vaan with sword and shield, Balthier with a gun, and Ashe with axe and shield. Ultimately, the best party is the one that fits your preferred play style.