So if someone wished someone was dead and made dua that something happens to that person on the same day and dies. Will the person making dua be held accountable?

Yes he will be held accountable by Allah in this world and the hereafter