The last sentence is what makes it complex. But if it were me, I would be worried about the self harm and would want to reach out... a simple, 'hello, I was just thinking about how you were doing the other day and was hoping you are fine. Wishing you well, your friend xxxx'
Don't ask them questions, just leave it open for them to reveal what they wish to you. I would use 'they/them' until you know the truth about their situation. If the suicide is true then, it is probably best to use 'he/him'.
However, only do this if you are genuinely concerned and accepting of whatever they want. If you can't accept them for who they wish to be, or if you can't be there to provide an open ear and understanding, then best not to reach out. I don't know how you broke off your relationship. If there is baggage, then best to trust in your other friends to be there for them.
I hope your friend is well.