Coach Ronald Koeman told van der Gun that he could leave the club earlier in the season and the star shunned moves to AZ Alkmaar, RBC Roosendaal and FC Groningen.
Willem II offered a loan deal to the 22-year-old that was accepted by Ajax and the Dutchman.
Van der Gun has made 45 first team appearances for the Dutch giants scoring a creditable nine goals.