#include <bits/stdc++.h>
using namespace std;
int count(string s, string t) {
  int n = s.size(), m = t.size();
  int ret = 0;
  for (int i = 0; i <= n - m; i++) {
    int j = 0;
    while (j < m) {
      if (s[i + j] != t[j]) break;
      j++;
    }
    if (j == m) ret++;
  }
  return ret;
}
int main() {
  int t;
  cin >> t;
  while (t--) {
    int n;
    cin >> n;
    string s;
    cin >> s;
    string t = "abacaba";
    bool found = false;
    string ans;
    int m = t.size();
    for (int i = 0; i <= n - m; i++) {
      int j = 0;
      ans = s;
      while (j < m) {
        if (ans[i + j] != '?' && ans[i + j] != t[j]) break;
        ans[i + j] = t[j];
        j++;
      }
      if (j == m && count(ans, t) == 1) {
        for (int k = 0; k < n; k++)
          if (ans[k] == '?') ans[k] = 'd';
        found = true;
        break;
      }
    }
    if (!found)
      cout << "NO\n";
    else
      cout << "Yes\n" << ans << endl;
  }
}
