In my experience the gender of the bird and the gender of the person it bonds closely with have nothing to do with each other at all, just as Christa already mentioned. And honestly, not much that is logical or makes any sense at all has much to do with who a parrot chooses as "their person"...And that's just it, parrots are the ones who make the choice as to who is going to be "their person", that person who they bond the closest with, and there is typically no rhyme or reason as to why a parrot chooses the person that they do at all. It doesn't usually even matter who feeds them, who cleans their cage, who lets them out of their cage, who is with them all day long, etc. None of this usually matter to the bird at all, they simply like who they like and choose who they choose, and I've honestly never seen anyone change their mind as to who "their person" is. That's not to say you can't get closer to your CAG or strengthen your relationship with him, but if he's chosen your dad as his person, then that's who his person is going to be, unless you move out of the house and take him with you, and he is no longer able to see your dad anymore. And even in situations where that happens, it still doesn't mean that the bird is going to bond closely with you, even when you're the only person that the bird has contact with...
We see this a lot here on the forum with couples...One of the people want to get a parrot, the other one could either care less about getting a parrot or really doesn't want to get one at all and wants nothing to do with the bird. So the person who wants to get the parrot goes out and brings one home, and this person is the person who does absolutely everything for and with the bird, they feed it and give it water, they give it treats, they let it in and out of it's cage, they may even be home all day long with the parrot while the other spouse is at work all day long. And low and behold, the parrot chooses the spouse who wants nothing to do with the bird at all, does nothing with or for the bird, spends no time with the bird, and the bird may or may not even like the spouse who is with him all day long and who does everything for him...In some cases the bird actually hates the spouse who wanted him to begin with and who does everything for the bird and who is home all day long every day with the bird. The bird often even bites and is aggressive with that spouse, and when the other spouse who wants nothing to do with the bird gets home from work every night, the bird immediately changes it's personality to the most loving, cuddly, snuggly bird, and only wants to be with that spouse the rest of the night. And this usually causes huge issues in the couple's relationship, and the spouse who is completely brokenhearted comes here to post, asking what they can do to "transfer" their bird's bond from their spouse to them...And unfortunately the answer is usually "nothing"...
****Now that isn't to say that this is the situation with your bird, however it's obviously clear that your bird has chosen your dad as his "person"...So the first question you need to ask yourself is "Is there an obvious reason why your bird chose your dad?"...Does your dad spend the most time with your bird out of anyone? Is your dad the one who feeds your bird, gives him water, cleans his cage, etc.? Is your dad the one who gives your bird treats and people-food most of the time? When your dad is home is the bird usually with your dad? If the answer to most or all of these questions is "yes", then this makes the reason why your bird has chosen your dad very obvious, and in this case it's probably not going to be hard to figure out how to strengthen your relationship with your bird, because your bird has chosen your dad simply because your dad does everything with and for your bird, and spends the most time with your bird, and you need to take-over a lot of those roles instead of having your dad do them all...
However, if you dad isn't the person who does most-everything for you bird and he doesn't spend the most time with your bird, and your bird has still chosen your dad in spite of this, then it's going to be more difficult to change who your bird is bonded the closest with...
****You called the bird "your bird", and I don't know if the bird is actually supposed to be "your bird", meaning that you're the one who "owns" the bird and is responsible for the bird, or if your bird is a "family" bird. Either way, instead of concentrating on you "replacing" you dad, you should simply concentrate on strengthening your individual relationship with you bird, and hopefully this will encourage your bird to start to feel closer to you. And the best way you can do this is by #1) Spending as much time with your bird every single day as you can. Just having your bird out with you whenever you are home is a good start. If you're home then I suggest that you go and get your bird, and keep him with you whenever you're watching TV, playing video games, reading, on the computer, etc., whatever it is that you do when you're at home, you need to start doing it with your bird. Usually the more time you spend with your bird, the closer they are going to feel to you, so this is going to require a commitment from you every day time-wise...#2) Make sure that YOU are the person who feeds your bird every day and gives him water, who cleans out his cage every week, who gives your bird his treats, who hangs new toys in his cage, who showers with your bird (if he likes to shower), etc.
This is going to take time, as parrots are extremely intelligent and usually "bonding" with them is a marathon, not a sprint, especially when your bird has already chosen someone else as "his person"...So it's very important that you're patient and that you stick with it for the long-haul.
****As far as teaching your bird "tricks", I wouldn't worry about doing this at all for now, not until you start making a lot of progress bonding with him closely; it's likely that your bird is not going to be very into listening to you or doing much that you want him to do, as you're not the person that he's chosen as of right now, and until that happens I certainly wouldn't worry about teaching him "tricks"...You can focus on teaching him to do basic commands for you specifically if he doesn't already do them for you, such as simply "stepping-up" for you, teaching him not to nip/bite you, teaching him to go in and out of his cage when you tell him to, etc., and make sure that you reward him plentifully with his favorite treats while doing so, but that's all I would worry about as far as training him goes.