On a 2004 Silverado 1500 V8, the oil pressure switch is typically located on the
passenger side of the engine block. However, the exact location can vary slightly depending on the specific engine (e.g., 4.8L, 5.3L, 6.0L). It's usually near the oil filter, but not directly on it.
To be certain, consult a repair manual specific to your truck's engine. A picture diagram would be very helpful. You can find these manuals online or at auto parts stores.