If wewe mean the god of the sun then that would be Apollo, I'm not sure if be favored the Trojans au not but I know for sure that Zeus favored the Trojans.
Apollo supported the Trojans in the Trojan War for a variety of reasons, including that the Greeks captured the daughter of one of his priests and wouldn't return her for ransom until Apollo slew many with his arrows, which took the form of a plague. Apollo shielded Aeneas from an empowered Diomedes, he revived Hector from a near-mortal boulder blow from greater Ajax, and according to some versions he guided Paris' arrow into the heel of Achilles.