Organic field effect transistors (OFETs) have potential applications in gas sensing area, but the performance and diversity of n-type OFETs are still far behind that of p-type OFETs due to the poor stability in air atmosphere. Herein, a series of novel dicyanomethylene-terminated quinoids compounds were synthesized and characterized by using electron withdrawing aromatic heterocycles as the core structural units. The introduction of alkyl branch chain greatly improves the solubility, which is helpful to the preparation of thin film OFETs devices by low-cost solution method. These OFETs show typical n-channel FET characteristics with mobility ranging from 10−3∼10−1 cm2V−1s−1. Among them, the 3-T-TZCN based OFETs exhibit the best stability, in which the mobility decreased no more than 18 % after 90 days stored in air atmosphere, this is an outstanding performance compared with the previous researches. We further investigated the dimethyl methylphosphonate (DMMP, which is a substitute for detecting sarin) gas sensing performance of each material, the experimental results indicated that the sensitivity, recovery and stability of 3-T-TZCN are better than other materials, and the limit of detection can be lower to 10 ppb level. This general approach could offer new solution for constructing n-type OFET-based gas sensors with good stability in air atmosphere.