A woman alleged to have braked sharply, causing a fatal crash, told a jury she wanted the driver behind her to know he was "too close".