Luis Suarez opened the scoring just after the hour mark before Gerald Sibon pulled Heerenveen level 10 minutes later.
But John Heitinga pounced in the 76th minute to leave Ajax on the brink of qualifying for the play-off final.
Copyright (c) PA Sport 2008, All Rights Reserved.
Do YOU want to write for GiveMeSport? Get started today by signing-up and submitting an article HERE: https://www.givemesport.com/writeforgms