First thing is to check the timing belt if it is a 4 cylinder model. These are notorious for a slapping or clunking noise as the belt gets a bit loose. This is esp true if the belt has been changed as the spring loaded belt tensioner is anstalled at that time(not used from the factory). Once again I cannot emphasize enough that people need to buy a good Manual for their car as it answers most of their questions.
a firecracker
Get a new one.
loose belts
when stopped at red light or when in park
you have a bad alternater or belt
It turns out that it was a bad idle air control valve. Right after I replaced it the loud noise stopped. About a hundred dollar fix, it was well worth it!
Idle air control motor
Is the loud noise an intermittent squeak? My 1998 ZX2 had a very annoying loud squeak that turned out to be due to the use of the wrong PCV valve. The ZX2 2.0L engine apparently comes in SOHC and DOHC versions and if you use the PCV valve intended for the SOHC engine in the DOHC engine, you will get the squeak. Before I knew this, more than one garage has installed the wrong one on my ZX2.
Vacuum hose leaking.
The Ford Explorer uses an idle speed control valve that allows air to flow thru the idle air passage inside the intake manifold. When this air passage gets clogged up with carbon or grime it restricts the passage & the result is a loud humming / moaning noise. The repair is to remove idle speed control valve & spray carburetor cleaner or intake cleaner thru air passages inside intake manifold & clean or replace idle speed control valve.
idle air control valve
bums