Narrative:

Aircraft began uncommanded yaw left and right at about 1000 ft AGL. First suspected engine failure/surge but all indications normal. Flight was normal for a few mins, but then began again and art (automatic reserve thrust), in the event of engine failure, fired but there still was no engine failure. Yaw continued intermittently and crew declared emergency to ATC and was cleared direct back to bos. Manual rudder and yaw damper off were selected, but oscillation continued. Yaw damper to 'override' also did not help. Landing was normal and also the return to the gate at bos was normal. Maintenance found the dual, 3 axis accelerometer was defective and changed it out. Aircraft was redispatched to ewr and subsequent flight was normal.

Google
 

Original NASA ASRS Text

Title: FLC OF AN MLG ACR ACFT RETURNED TO LAND AFTER NOT BEING ABLE TO PREVENT ACFT YAW DURING CLB.

Narrative: ACFT BEGAN UNCOMMANDED YAW L AND R AT ABOUT 1000 FT AGL. FIRST SUSPECTED ENG FAILURE/SURGE BUT ALL INDICATIONS NORMAL. FLT WAS NORMAL FOR A FEW MINS, BUT THEN BEGAN AGAIN AND ART (AUTOMATIC RESERVE THRUST), IN THE EVENT OF ENG FAILURE, FIRED BUT THERE STILL WAS NO ENG FAILURE. YAW CONTINUED INTERMITTENTLY AND CREW DECLARED EMER TO ATC AND WAS CLRED DIRECT BACK TO BOS. MANUAL RUDDER AND YAW DAMPER OFF WERE SELECTED, BUT OSCILLATION CONTINUED. YAW DAMPER TO 'OVERRIDE' ALSO DID NOT HELP. LNDG WAS NORMAL AND ALSO THE RETURN TO THE GATE AT BOS WAS NORMAL. MAINT FOUND THE DUAL, 3 AXIS ACCELEROMETER WAS DEFECTIVE AND CHANGED IT OUT. ACFT WAS REDISPATCHED TO EWR AND SUBSEQUENT FLT WAS NORMAL.

Data retrieved from NASA's ASRS site as of July 2007 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.