As far as I know Fox TV stations have no connection to the Fox with the cable news channel aside from being part of the same company in the past.
edit: https://www.mediamatters.org/fox-news/fox-affiliates-we-are-...
edit: https://www.mediamatters.org/fox-news/fox-affiliates-we-are-...
TV network affiliates can be either independently owned or owned & operated by the network. Disney did not acquire either the Fox TV network or the Fox TV O&O stations in the recent Fox studio sale to Disney, likely because Disney already owns the ABC TV network and strategic ABC affiliates.