Hello, no one could possibly answer this question without a hands on evaluation of your vehicle, i'm sorry. To have torn the engine down and reassembled -- contacting many different components and harnesses - it's impossible to know what has happened. The first place to check is ensuring all fuses are intact, in case something was blown during your repairs.
RepairPal Certified shops can diagnose and repair your 2004 Nissan Frontier. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.