According to the Elders rule book (Shepherd the Flock of God), you cannot be disfellowshipped for associating with a disfellowshipped person as long as you are not having “spiritual association or openly criticizing the disfellowshipping decision”.
Here is what it says in Chapter 10 of the “Shepherd the Flock of God” book:
“If members of the congregation are known to have undue association with disfellowshipped or disassociated relatives who are not in the household, elders should counsel and reason with those members of the congregation from the Scriptures. Review with them information from the “God’s Love” book, pages 207-208; The Watchtower of April 15, 1988, pages 26-30; or the article “Display Christian Loyalty When a Relative Is Disfellowshipped” in the August 2002 Our Kingdom Ministry. If it is clear that a Christian is violating the spirit of the disfellowshipping decree in this regard and does not respond to counsel, it may be that he would not qualify for congregation privileges, which require one to be exemplary. He would not be dealt with judicially unless there is persistent spiritual association or he openly criticizes the disfellowshipping decision.” – (2010 – Shepherd the Flock of God, Chapter 10, Page 116) on page 116 of chapter 10.