A 32-year-old man appeared in court in connection with a fatal crash that killed three people.