My tail lights and third brake light work on my 98 Explorer the two main brake lights do not Already replaced the brake light switch and all fuses appear to be intact What next?

I hate to ask , but did you check the bulbs ? The tail light portion may work fine , but the brake lights don't if both of the bulbs are bad .