@MoatazShaaban-9684 In AD Connect, the only option is to add entire forest. You cannot add a specific subdomain in the forest to AD Connect. The AD Connect server must be able to communicate to the root domain in order to add the forest. You may fix the connectivity with one of the DCs in the root domain and configure your AD Connect server to communicate to that specific DC by configuring below option.
Please do not forget to "Accept the answer" wherever the information provided helps you. This will help others in the community as well.