Numerous wireless networks have emerged that can be used for short communication ranges where the infrastructure-based networks may fail because of their installation and cost. One of them is a sensor network with embedded sensors working as the primary nodes, termed Wireless Sensor Networks (WSNs), in which numerous sensors are connected to at least one Base Station (BS). These sensors gather information from the environment and transmit it to a BS or gathering location. WSNs have several challenges, including throughput, energy usage, and network lifetime concerns. Different strategies have been applied to get over these restrictions. Clustering may, therefore, be thought of as the best way to solve such issues. Consequently, it is crucial to analyze effective Cluster Head (CH) selection to maximize efficiency throughput, extend the network lifetime, and minimize energy consumption. This paper proposed an Accelerated Particle Swarm Optimization (APSO) algorithm based on the Low Energy Adaptive Clustering Hierarchy (LEACH), Neighboring Based Energy Efficient Routing (NBEER), Cooperative Energy Efficient Routing (CEER), and Cooperative Relay Neighboring Based Energy Efficient Routing (CR-NBEER) techniques. With the help of APSO in the implementation of the WSN, the main methodology of this article has taken place. The simulation findings in this study demonstrated that the suggested approach uses less energy, with respective energy consumption ranges of 0.1441 to 0.013 for 5 CH, 1.003 to 0.0521 for 10 CH, and 0.1734 to 0.0911 for 15 CH. The sending packets ratio was also raised for all three CH selection scenarios, increasing from 659 to 1730. The number of dead nodes likewise dropped for the given combination, falling between 71 and 66. The network lifetime was deemed to have risen based on the results found. A hybrid with a few valuable parameters can further improve the suggested APSO-based protocol. Similar to underwater, WSN can make use of the proposed protocol. The overall results have been evaluated and compared with the existing approaches of sensor networks.