A Malaysian court sentenced an American to death by hanging on Tuesday after finding him guilty of murdering his ex-wife, his lawyer said.