The unprecedented rest-frame UV and optical coverage provided by JWST enables simultaneous constraints on the electron density (ne) and temperature (Te) of ionized gas in galaxies at z>5. We present a self-consistent direct method based on multiple OIII]1661,66) and [OIII] (I^»4363, and I^»5007) transitions to characterize the physical conditions of the high-ionization zone. This new approach is insensitive to a wide range of ne due to the high critical densities of the OIII] and [OIII] transitions. Applying this technique to six galaxies at z=5-9, we find electron densities up to neim3×105 cm−3 and temperatures of Teim20,000 K in systems at z>6. Accounting for these self-consistent densities changes the derived Te and modifies the inferred metallicities by up to 0.29 dex relative to previous estimates. We discuss the reported N/O overabundances in the high-z galaxies from our sample, which arise entirely from the high N3+/H+ values inferred from NIV] lines. We point out that a Te-stratification, in which the N3+ zone has a slightly higher Te than Te([OIII]), could substantially reduce the inferred N/O. Quantitatively, if Te(N3+) were 10\% higher than Te([OIII]), this could induce a systematic overestimation of N3+/O2+ of nearly 50\%. Classical N/O diagnostics such as N+/O+, due to their critical densities, can significantly impact the inferred N/O abundance in the presence of high-density gas, whereas N2+/O2+ place these galaxies closer to zim0 systems in the N/O-O/H plane. Future JWST programs with larger and more diverse samples will be essential to test the universality and robustness of these results.