Vehicular ad hoc networks (VANETs) are the form of mobile ad hoc network that offers comfort and protection to road consumers. Accident prevention and traffic safety are improved by using VANET. One of the challenging tasks is developing an efficient routing protocol due to the VANET characteristics including rapid topology changes, frequent link disconnection, and self-organizations. Clustering is an important strategy for solving these issues in the mobile environment. In this study, we have proposed an evolutionary Black Widow Optimization (BWO) based Neuro-Fuzzy Optimization (EBW-NFO) algorithm for a cluster routing protocol that considers mobility constraints, mistrust value parameters, and Quality of Service (QoS) requirements. During communications, the connectivity and stability are increased and the EBW-NFO algorithm offers a stable and reliable clustering protocol. The experiments are conducted using an NS2 simulator and the performance is verified using different performance metrics