The first is wrong-- 'need' as a pseudu-auxiliary cannot be used in affirmative statements. But neither sentence is right anyway. Use this: She thought that if wasn't going to come, he needed to call and tell her first.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.